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.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.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.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001742/0.001742, allocations: 190.7 kB / 16.14 MB, free: 6.645 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.321/2.321, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6683, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007556/0.6759, allocations: 6.801 MB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.6801, allocations: 3.081 MB / 0.9587 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.6809, allocations: 26.94 kB / 0.9587 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.6831, allocations: 0.8789 MB / 0.9596 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.6843, allocations: 488.8 kB / 0.9601 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.6852, allocations: 400.1 kB / 0.9604 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.6872, allocations: 1.591 MB / 0.962 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.6884, allocations: 0.6415 MB / 0.9626 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008003/0.6892, allocations: 431.4 kB / 0.963 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000895/0.6901, allocations: 0.5287 MB / 0.9636 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.6903, allocations: 47.84 kB / 0.9636 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009964/0.6913, allocations: 453.1 kB / 0.964 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.6916, allocations: 287.2 kB / 0.9643 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.6923, allocations: 428.5 kB / 0.9647 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.6935, allocations: 1.211 MB / 0.9659 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6936, allocations: 0 / 0.9659 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6936, allocations: 0 / 0.9659 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.6936, allocations: 4.812 kB / 0.9659 GB, free: 12.89 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.001866/0.6955, allocations: 1.166 MB / 0.967 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.6955, allocations: 14 kB / 0.9671 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6957, allocations: 117 kB / 0.9672 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6972, allocations: 237.6 kB / 0.9674 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.698, allocations: 0.5616 MB / 0.9679 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.6981, allocations: 47.55 kB / 0.968 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6982, allocations: 66.02 kB / 0.9681 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.6996, allocations: 1.083 MB / 0.9691 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.6997, allocations: 11 kB / 0.9691 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.6997, allocations: 33.95 kB / 0.9692 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.6999, allocations: 84.78 kB / 0.9692 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.7011, allocations: 0.7531 MB / 0.97 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.7061, allocations: 5.89 MB / 0.9757 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.7071, allocations: 0.5577 MB / 0.9763 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.7075, allocations: 335.7 kB / 0.9766 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.7076, allocations: 4.688 kB / 0.9766 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.7076, allocations: 38.44 kB / 0.9766 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.7076, allocations: 0 / 0.9766 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003766/0.7114, allocations: 1.982 MB / 0.9786 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.7114, allocations: 57.56 kB / 0.9786 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.7121, allocations: 0.571 MB / 0.9792 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.7121, allocations: 35.2 kB / 0.9792 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.7124, allocations: 413.6 kB / 0.9796 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.7125, allocations: 178.7 kB / 0.9798 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.7127, allocations: 128.1 kB / 0.9799 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7128, allocations: 386.6 kB / 0.9803 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.7132, allocations: 273.9 kB / 0.9805 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.7137, allocations: 493 kB / 0.981 GB, free: 460 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.7147, allocations: 0.8054 MB / 0.9818 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7147, allocations: 0 / 0.9818 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001729/0.7164, allocations: 1.082 MB / 0.9828 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7165, allocations: 9.875 kB / 0.9828 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7165, allocations: 8.844 kB / 0.9829 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.7173, allocations: 287.1 kB / 0.9831 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.7178, allocations: 127.8 kB / 0.9833 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.7237, allocations: 6.599 MB / 0.9897 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.7244, allocations: 39.95 kB / 0.9897 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.7244, allocations: 28 kB / 0.9898 GB, free: 6.816 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.0003711/0.7248, allocations: 253.5 kB / 0.99 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.7249, allocations: 75.16 kB / 0.9901 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.7264, allocations: 0.8926 MB / 0.9909 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7264, allocations: 4 kB / 0.9909 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7265, allocations: 4.188 kB / 0.991 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7265, allocations: 4 kB / 0.991 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.729, allocations: 1.724 MB / 0.9926 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.729, allocations: 7.969 kB / 0.9926 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.7293, allocations: 63.89 kB / 0.9927 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007404/0.73, allocations: 267.1 kB / 0.993 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.7301, allocations: 15.98 kB / 0.993 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.7356, allocations: 6.571 MB / 0.9994 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7357, allocations: 0 / 0.9994 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.7372, allocations: 0.9873 MB / 1 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.7375, allocations: 192.2 kB / 1.001 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.7376, allocations: 15.94 kB / 1.001 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.738, allocations: 31.95 kB / 1.001 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.7381, allocations: 35.95 kB / 1.001 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.7381, allocations: 16 kB / 1.001 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004192/0.7386, allocations: 395.1 kB / 1.001 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.653e-06/0.7386, allocations: 0 / 1.001 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008204/0.7394, allocations: 231.9 kB / 1.001 GB, free: 10.32 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.001682/0.7411, allocations: 1.544 MB / 1.003 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.7429, allocations: 1.268 MB / 1.004 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7429, allocations: 0 / 1.004 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7441, allocations: 0.8932 MB / 1.005 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009727/0.7451, allocations: 201.8 kB / 1.005 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.7535, allocations: 6.858 MB / 1.012 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.7541, allocations: 1.013 MB / 1.013 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004383/0.7545, allocations: 118 kB / 1.013 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.7548, allocations: 259.3 kB / 1.013 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of SimCode: time 8.11e-07/0.7548, allocations: 0 / 1.013 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.7872, allocations: 16.69 MB / 1.029 GB, free: 13.28 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.7874, allocations: 256.6 kB / 1.03 GB, free: 13.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.801, allocations: 10.25 kB / 1.03 GB, free: 13.01 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