Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 63.89 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5993, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006805/0.6062, allocations: 6.795 MB / 0.9564 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.61, allocations: 3.073 MB / 0.9594 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.6104, allocations: 27.59 kB / 0.9594 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.6123, allocations: 0.9531 MB / 0.9603 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.6131, allocations: 0.4992 MB / 0.9608 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.6139, allocations: 447.9 kB / 0.9612 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.615, allocations: 1.236 MB / 0.9624 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.6158, allocations: 0.6542 MB / 0.9631 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.6163, allocations: 472.8 kB / 0.9635 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.6169, allocations: 0.5248 MB / 0.964 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.617, allocations: 66.44 kB / 0.9641 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.6176, allocations: 377.1 kB / 0.9645 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.6179, allocations: 307.5 kB / 0.9648 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.6183, allocations: 456.8 kB / 0.9652 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.6195, allocations: 1.206 MB / 0.9664 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6195, allocations: 1.094 kB / 0.9664 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6195, allocations: 0 / 0.9664 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.6195, allocations: 0 / 0.9664 GB, free: 12.84 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001765/0.6213, allocations: 1.175 MB / 0.9675 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.6213, allocations: 8.875 kB / 0.9675 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.6215, allocations: 114.4 kB / 0.9676 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.623, allocations: 252.8 kB / 0.9679 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.6237, allocations: 0.5503 MB / 0.9684 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.6237, allocations: 47.31 kB / 0.9685 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.6239, allocations: 62.42 kB / 0.9685 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.6252, allocations: 1.087 MB / 0.9696 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.6252, allocations: 7.281 kB / 0.9696 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.6253, allocations: 32.77 kB / 0.9696 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.6255, allocations: 88.72 kB / 0.9697 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6266, allocations: 0.7491 MB / 0.9704 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.6313, allocations: 5.898 MB / 0.9762 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.6323, allocations: 0.559 MB / 0.9767 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.6327, allocations: 331.5 kB / 0.9771 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.6327, allocations: 5.875 kB / 0.9771 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.6328, allocations: 41.5 kB / 0.9771 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.6328, allocations: 4 kB / 0.9771 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003663/0.6364, allocations: 1.983 MB / 0.979 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.6365, allocations: 57.59 kB / 0.9791 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.6371, allocations: 0.5658 MB / 0.9797 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.6371, allocations: 36.98 kB / 0.9797 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.6374, allocations: 420.7 kB / 0.9801 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6375, allocations: 168.1 kB / 0.9803 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.6377, allocations: 129.8 kB / 0.9804 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6379, allocations: 374.7 kB / 0.9807 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.6382, allocations: 277.8 kB / 0.981 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.6388, allocations: 497 kB / 0.9815 GB, free: 412 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.6397, allocations: 0.8093 MB / 0.9823 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6397, allocations: 4 kB / 0.9823 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001682/0.6414, allocations: 1.083 MB / 0.9833 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6415, allocations: 8 kB / 0.9833 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6415, allocations: 7.984 kB / 0.9833 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007917/0.6423, allocations: 279.2 kB / 0.9836 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.6427, allocations: 119.8 kB / 0.9837 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/0.6487, allocations: 7.146 MB / 0.9907 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.6493, allocations: 35.97 kB / 0.9907 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.6494, allocations: 35.98 kB / 0.9908 GB, free: 6.199 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003295/0.6497, allocations: 257.5 kB / 0.991 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6498, allocations: 71.16 kB / 0.9911 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.6513, allocations: 0.8847 MB / 0.9919 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.6514, allocations: 8 kB / 0.992 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6514, allocations: 7.938 kB / 0.992 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6514, allocations: 4 kB / 0.992 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.654, allocations: 1.72 MB / 0.9936 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.654, allocations: 7.938 kB / 0.9937 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.6543, allocations: 63.89 kB / 0.9937 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007213/0.655, allocations: 263.3 kB / 0.994 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.655, allocations: 16 kB / 0.994 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00618/0.6612, allocations: 7.118 MB / 1.001 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6613, allocations: 8.156 kB / 1.001 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.6629, allocations: 0.9835 MB / 1.002 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.6633, allocations: 188.2 kB / 1.002 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.6634, allocations: 19.94 kB / 1.002 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.6638, allocations: 27.97 kB / 1.002 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.6639, allocations: 43.88 kB / 1.002 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.664, allocations: 16 kB / 1.002 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004202/0.6644, allocations: 391.1 kB / 1.003 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6644, allocations: 0 / 1.003 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008239/0.6652, allocations: 228 kB / 1.003 GB, free: 9.141 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.6669, allocations: 1.541 MB / 1.004 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.669, allocations: 1.326 MB / 1.006 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.669, allocations: 4 kB / 1.006 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.6702, allocations: 0.8932 MB / 1.006 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6712, allocations: 223 kB / 1.007 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007999/0.6792, allocations: 6.553 MB / 1.013 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.6798, allocations: 1.02 MB / 1.014 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000406/0.6802, allocations: 122 kB / 1.014 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6805, allocations: 251.4 kB / 1.014 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.6805, allocations: 0 / 1.014 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.7276, allocations: 17.25 MB / 1.031 GB, free: 11.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.148/9.876, allocations: 7.875 kB / 1.031 GB, free: 11.76 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches