Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.001091/0.001091, 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.001446/0.001446, allocations: 192.7 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.274/2.274, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5662, allocations: 140.4 MB / 0.9497 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03762/0.6039, allocations: 37.96 MB / 0.9868 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.6226, allocations: 10.99 MB / 0.9975 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004772/0.6274, allocations: 155.2 kB / 0.9977 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.6386, allocations: 4.356 MB / 1.002 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006531/0.6451, allocations: 2.227 MB / 1.004 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.6506, allocations: 2.167 MB / 1.006 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.6606, allocations: 9.284 MB / 1.015 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/0.6763, allocations: 11.36 MB / 1.026 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/0.6828, allocations: 3.989 MB / 1.03 GB, free: 15 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007128/0.69, allocations: 4.502 MB / 1.035 GB, free: 10.49 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002513/0.6925, allocations: 0.8242 MB / 1.035 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004645/0.6972, allocations: 1.58 MB / 1.037 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.006655/0.7038, allocations: 3.158 MB / 1.04 GB, free: 4.918 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007755/0.7116, allocations: 3.653 MB / 1.044 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.7252, allocations: 12.23 MB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.7253, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7253, allocations: 3.938 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003509/0.7256, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01663/0.7423, allocations: 6.315 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.7423, allocations: 8.031 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002964/0.7453, allocations: 0.8333 MB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/0.7512, allocations: 1.063 MB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006521/0.7577, allocations: 3.423 MB / 1.067 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.7581, allocations: 427.7 kB / 1.067 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.7595, allocations: 0.5355 MB / 1.068 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.7758, allocations: 9.377 MB / 1.077 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.776, allocations: 23.8 kB / 1.077 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005661/0.7766, allocations: 248 kB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005591/0.7771, allocations: 418.9 kB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.7893, allocations: 7.123 MB / 1.085 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/0.8289, allocations: 41.32 MB / 1.125 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.8331, allocations: 3.1 MB / 1.128 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.8358, allocations: 2.133 MB / 1.13 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.8359, allocations: 22 kB / 1.13 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.836, allocations: 60.56 kB / 1.13 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 3.777e-06/0.836, allocations: 0 / 1.13 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02298/0.859, allocations: 10.56 MB / 1.141 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.8591, allocations: 81.33 kB / 1.141 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.8618, allocations: 2.005 MB / 1.143 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.8621, allocations: 69.64 kB / 1.143 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.8635, allocations: 2.404 MB / 1.145 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.8641, allocations: 0.7318 MB / 1.146 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006736/0.8648, allocations: 477.2 kB / 1.146 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.8649, allocations: 305.1 kB / 1.146 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.8668, allocations: 1.368 MB / 1.148 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.869, allocations: 2.112 MB / 1.15 GB, free: 15.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.8734, allocations: 3.762 MB / 1.154 GB, free: 11.65 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.8734, allocations: 8 kB / 1.154 GB, free: 11.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007585/0.881, allocations: 5.076 MB / 1.158 GB, free: 6.543 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.8811, allocations: 13.56 kB / 1.159 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.8811, allocations: 24 kB / 1.159 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/0.8844, allocations: 1.592 MB / 1.16 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.886, allocations: 455.2 kB / 1.161 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/0.9077, allocations: 18.59 MB / 1.179 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.9103, allocations: 147.9 kB / 1.179 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000447/0.9107, allocations: 104 kB / 1.179 GB, free: 1.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003587/0.9143, allocations: 1.943 MB / 1.181 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/0.9151, allocations: 292.6 kB / 1.181 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007297/0.9224, allocations: 4.451 MB / 1.185 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.9224, allocations: 20 kB / 1.185 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.203e-05/0.9225, allocations: 20 kB / 1.185 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.9225, allocations: 8.062 kB / 1.185 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.937, allocations: 9.672 MB / 1.195 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.937, allocations: 7.938 kB / 1.195 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/0.938, allocations: 235.6 kB / 1.195 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.9412, allocations: 1.431 MB / 1.197 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.9413, allocations: 44 kB / 1.197 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02118/0.9625, allocations: 18.58 MB / 1.215 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9626, allocations: 7.938 kB / 1.215 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/0.9696, allocations: 4.544 MB / 1.219 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/0.9712, allocations: 0.6381 MB / 1.22 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005992/0.9718, allocations: 36 kB / 1.22 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.9733, allocations: 115.9 kB / 1.22 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005148/0.9739, allocations: 185.6 kB / 1.22 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.974, allocations: 60 kB / 1.22 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001859/0.9759, allocations: 1.315 MB / 1.221 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9759, allocations: 0 / 1.221 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003295/0.9792, allocations: 1.144 MB / 1.223 GB, free: 3.465 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007101/0.9863, allocations: 5.167 MB / 1.228 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009324/0.9956, allocations: 5.895 MB / 1.233 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.9957, allocations: 4 kB / 1.233 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004323/1, allocations: 2.926 MB / 1.236 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/1.004, allocations: 0.8887 MB / 1.237 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4519/1.456, allocations: 33.62 MB / 1.27 GB, free: 271.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/1.459, allocations: 3.692 MB / 1.274 GB, free: 270.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001779/1.461, allocations: 0.551 MB / 1.274 GB, free: 270 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.462, allocations: 1.95 MB / 1.276 GB, free: 268.4 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/1.462, allocations: 0 / 1.276 GB, free: 268.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/1.591, allocations: 85.69 MB / 1.36 GB, free: 200.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.31, allocations: 17.73 kB / 1.36 GB, free: 200.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches