Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_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.0007648/0.0007648, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005201/0.005201, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003593, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7186, allocations: 142.4 MB / 0.9552 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01586/0.7345, allocations: 16.03 MB / 0.9708 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.7455, allocations: 6.384 MB / 0.9771 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.747, allocations: 41.66 kB / 0.9771 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.7477, allocations: 316.8 kB / 0.9774 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.7498, allocations: 0.8163 MB / 0.9782 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.7527, allocations: 1.078 MB / 0.9793 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006432/0.7592, allocations: 5.799 MB / 0.9849 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008658/0.7679, allocations: 6.136 MB / 0.9909 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.77, allocations: 1.132 MB / 0.992 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.7728, allocations: 1.717 MB / 0.9937 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005174/0.7734, allocations: 163.9 kB / 0.9939 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.7751, allocations: 0.7682 MB / 0.9946 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.7764, allocations: 1.236 MB / 0.9958 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.7778, allocations: 1.242 MB / 0.997 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.7824, allocations: 5.302 MB / 1.002 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.7824, allocations: 3.938 kB / 1.002 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7824, allocations: 0 / 1.002 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.271e-05/0.7825, allocations: 0 / 1.002 GB, free: 14.96 MB / 0.7637 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.003924/0.7865, allocations: 2.207 MB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7865, allocations: 8.031 kB / 1.004 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005019/0.787, allocations: 395.7 kB / 1.005 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.7918, allocations: 0.9265 MB / 1.006 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.794, allocations: 1.419 MB / 1.007 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.7941, allocations: 197.5 kB / 1.007 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.7946, allocations: 248.4 kB / 1.007 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007082/0.8017, allocations: 4.654 MB / 1.012 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.8017, allocations: 7.938 kB / 1.012 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/0.802, allocations: 112 kB / 1.012 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.8022, allocations: 172.3 kB / 1.012 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006131/0.8084, allocations: 3.93 MB / 1.016 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.8286, allocations: 21.57 MB / 1.037 GB, free: 8.918 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.831, allocations: 2.259 MB / 1.039 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.8319, allocations: 0.7082 MB / 1.04 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.832, allocations: 16 kB / 1.04 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.832, allocations: 46.48 kB / 1.04 GB, free: 5.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 2.755e-06/0.832, allocations: 0 / 1.04 GB, free: 5.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.005306/0.8374, allocations: 4.204 MB / 1.044 GB, free: 1.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.8375, allocations: 239.3 kB / 1.044 GB, free: 1.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8391, allocations: 1.175 MB / 1.046 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.8392, allocations: 33.7 kB / 1.046 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.8398, allocations: 1.187 MB / 1.047 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.84, allocations: 252.6 kB / 1.047 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.8402, allocations: 129.6 kB / 1.047 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8403, allocations: 341.9 kB / 1.048 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.8415, allocations: 0.7495 MB / 1.048 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.8431, allocations: 1.438 MB / 1.05 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.8456, allocations: 2.193 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.8456, allocations: 11.94 kB / 1.052 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003452/0.8491, allocations: 2.274 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.8495, allocations: 0.7822 MB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.8496, allocations: 24 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.7e-05/0.8496, allocations: 36 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.8512, allocations: 451.2 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/0.8512, allocations: 47.8 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.8529, allocations: 235.2 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.853, allocations: 83.98 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.853, allocations: 7.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002829/0.8559, allocations: 1.941 MB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.8559, allocations: 24 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.8559, allocations: 36 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.8572, allocations: 407.2 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/0.8573, allocations: 48.25 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.8584, allocations: 155.5 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.8585, allocations: 79.98 kB / 1.058 GB, free: 1.859 MB / 0.8106 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.001452/0.86, allocations: 1.137 MB / 1.059 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.8603, allocations: 106.7 kB / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.8618, allocations: 1.1 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.8618, allocations: 8 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.8619, allocations: 4 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8619, allocations: 7.984 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.8736, allocations: 10.2 MB / 1.071 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.8737, allocations: 16 kB / 1.071 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.8743, allocations: 191.6 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/0.8743, allocations: 20 kB / 1.071 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.8744, allocations: 36 kB / 1.071 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.36e-05/0.8744, allocations: 31.86 kB / 1.071 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.8745, allocations: 23.88 kB / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.8768, allocations: 2.155 MB / 1.073 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/0.8773, allocations: 347.5 kB / 1.073 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.8775, allocations: 32 kB / 1.073 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8786, allocations: 115.8 kB / 1.073 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.8787, allocations: 95.55 kB / 1.073 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.8788, allocations: 36 kB / 1.074 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001261/0.8801, allocations: 0.8166 MB / 1.074 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8801, allocations: 0 / 1.074 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003/0.8831, allocations: 0.7344 MB / 1.075 GB, free: 132 kB / 0.8262 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.002401/0.8855, allocations: 2.749 MB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004017/0.8895, allocations: 2.571 MB / 1.08 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8896, allocations: 3.938 kB / 1.08 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006887/0.8902, allocations: 0.5723 MB / 1.081 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/0.894, allocations: 260.4 kB / 1.081 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.9154, allocations: 16.73 MB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.9173, allocations: 2.007 MB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002207/0.9195, allocations: 0.8831 MB / 1.1 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008858/0.9204, allocations: 0.7355 MB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of SimCode: time 1.193e-06/0.9204, allocations: 0 / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/0.9684, allocations: 28.33 MB / 1.129 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.9688, allocations: 246.4 kB / 1.129 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/3.103, allocations: 0 / 1.129 GB, free: 7.766 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches