Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008121/0.008121, allocations: 96.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 482.4 MB / 0.7548 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 75.81 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.5591/0.8565, allocations: 16.71 MB / 1.258 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009744/0.8662, allocations: 6.426 MB / 1.264 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.8679, allocations: 49.53 kB / 1.264 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.8712, allocations: 1.302 MB / 1.265 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.8736, allocations: 0.8658 MB / 1.266 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.8774, allocations: 1.55 MB / 1.268 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.8815, allocations: 3.847 MB / 1.271 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005978/0.8875, allocations: 4.978 MB / 1.276 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.8902, allocations: 1.649 MB / 1.278 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/0.8938, allocations: 1.984 MB / 1.28 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.895, allocations: 379.8 kB / 1.28 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.8975, allocations: 0.8482 MB / 1.281 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.9, allocations: 1.504 MB / 1.283 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.9025, allocations: 1.53 MB / 1.284 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007723/0.9102, allocations: 5.566 MB / 1.289 GB, free: 9.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.9103, allocations: 5.156 kB / 1.289 GB, free: 9.578 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9103, allocations: 0 / 1.289 GB, free: 9.578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001651/0.9105, allocations: 0 / 1.289 GB, free: 9.578 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008975/0.9194, allocations: 2.793 MB / 1.292 GB, free: 7.941 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9195, allocations: 9.938 kB / 1.292 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008311/0.9203, allocations: 406 kB / 1.293 GB, free: 7.719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005497/0.9258, allocations: 0.9159 MB / 1.294 GB, free: 7.547 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.9297, allocations: 1.444 MB / 1.295 GB, free: 6.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.9299, allocations: 192.7 kB / 1.295 GB, free: 6.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/0.9307, allocations: 250.4 kB / 1.295 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009479/0.9402, allocations: 4.649 MB / 1.3 GB, free: 4.633 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/0.9403, allocations: 13.44 kB / 1.3 GB, free: 4.625 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/0.9407, allocations: 109.7 kB / 1.3 GB, free: 4.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/0.9409, allocations: 176.5 kB / 1.3 GB, free: 4.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007355/0.9482, allocations: 3.928 MB / 1.304 GB, free: 3.211 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0263/0.9746, allocations: 21.43 MB / 1.325 GB, free: 2.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.9774, allocations: 2.251 MB / 1.327 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.9785, allocations: 0.7399 MB / 1.328 GB, free: 15.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.9785, allocations: 10.8 kB / 1.328 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.9786, allocations: 56.56 kB / 1.328 GB, free: 15.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.354e-06/0.9786, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.006459/0.9851, allocations: 4.388 MB / 1.332 GB, free: 12.6 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.9852, allocations: 243.8 kB / 1.332 GB, free: 12.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.9871, allocations: 1.175 MB / 1.334 GB, free: 11.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.9872, allocations: 36.45 kB / 1.334 GB, free: 11.6 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008925/0.9881, allocations: 1.236 MB / 1.335 GB, free: 10.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.9884, allocations: 256.7 kB / 1.335 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000577/0.989, allocations: 341.6 kB / 1.335 GB, free: 10.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.9892, allocations: 343.3 kB / 1.336 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.9905, allocations: 0.759 MB / 1.336 GB, free: 9.352 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.9924, allocations: 1.438 MB / 1.338 GB, free: 8.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.9954, allocations: 2.196 MB / 1.34 GB, free: 6.246 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.9955, allocations: 6.969 kB / 1.34 GB, free: 6.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004075/0.9995, allocations: 2.275 MB / 1.342 GB, free: 5.074 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.9996, allocations: 22.48 kB / 1.342 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.9996, allocations: 28.34 kB / 1.342 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/0.9997, allocations: 33.53 kB / 1.342 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/1.001, allocations: 447.3 kB / 1.343 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.47e-05/1.001, allocations: 48.97 kB / 1.343 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.003, allocations: 233 kB / 1.343 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/1.003, allocations: 87.19 kB / 1.343 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002697/1.006, allocations: 1.589 MB / 1.345 GB, free: 3.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001778/1.008, allocations: 1.366 MB / 1.346 GB, free: 2.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002668/1.011, allocations: 2.016 MB / 1.348 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-05/1.011, allocations: 10.22 kB / 1.348 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003723/1.014, allocations: 2.065 MB / 1.35 GB, free: 15.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.014, allocations: 16.44 kB / 1.35 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/1.014, allocations: 29.78 kB / 1.35 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.014, allocations: 35.44 kB / 1.35 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.016, allocations: 411.8 kB / 1.35 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.487e-05/1.016, allocations: 50.36 kB / 1.35 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.018, allocations: 197.2 kB / 1.351 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.018, allocations: 85.17 kB / 1.351 GB, free: 15.53 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003996/1.018, allocations: 290.4 kB / 1.351 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/1.019, allocations: 109.5 kB / 1.351 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/1.02, allocations: 1.101 MB / 1.352 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.02, allocations: 8.688 kB / 1.352 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.02, allocations: 2.688 kB / 1.352 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.02, allocations: 6.391 kB / 1.352 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/1.034, allocations: 10.22 MB / 1.362 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.034, allocations: 14.81 kB / 1.362 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/1.034, allocations: 191.7 kB / 1.362 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/1.034, allocations: 24.89 kB / 1.362 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/1.035, allocations: 30 kB / 1.362 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/1.035, allocations: 28.56 kB / 1.362 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-05/1.035, allocations: 29.73 kB / 1.363 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/1.037, allocations: 2.166 MB / 1.365 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/1.038, allocations: 336.2 kB / 1.365 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.038, allocations: 31.98 kB / 1.365 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.039, allocations: 107.8 kB / 1.365 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.039, allocations: 99.56 kB / 1.365 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/1.039, allocations: 43.94 kB / 1.365 GB, free: 5.426 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001395/1.041, allocations: 0.8127 MB / 1.366 GB, free: 4.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.041, allocations: 0 / 1.366 GB, free: 4.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003135/1.044, allocations: 0.746 MB / 1.367 GB, free: 3.855 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002697/1.046, allocations: 2.742 MB / 1.369 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004509/1.051, allocations: 2.605 MB / 1.372 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.051, allocations: 4.875 kB / 1.372 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/1.052, allocations: 0.5694 MB / 1.373 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.054, allocations: 269.4 kB / 1.373 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/1.077, allocations: 15.28 MB / 1.388 GB, free: 13 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.079, allocations: 2.007 MB / 1.39 GB, free: 10.96 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002147/1.081, allocations: 0.8792 MB / 1.391 GB, free: 10.08 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.082, allocations: 0.7375 MB / 1.391 GB, free: 9.344 MB / 1.092 GB Notification: Performance of SimCode: time 7.42e-07/1.082, allocations: 4 kB / 1.391 GB, free: 9.34 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/1.143, allocations: 29.93 MB / 1.42 GB, free: 11.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.87/11.01, allocations: 15.94 kB / 1.42 GB, free: 11.68 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches