Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 112.8 kB / 16.41 MB, free: 6.496 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.002026/0.002026, allocations: 187 kB / 17.34 MB, free: 5.762 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 60.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.9312, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01368/0.9449, allocations: 11.1 MB / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.9544, allocations: 5.789 MB / 1.184 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.9557, allocations: 55.62 kB / 1.184 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004623/0.9604, allocations: 1.73 MB / 1.186 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.9642, allocations: 1.182 MB / 1.187 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.9667, allocations: 0.8076 MB / 1.187 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.9701, allocations: 2.142 MB / 1.19 GB, free: 12.99 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.9722, allocations: 1.306 MB / 1.191 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.9741, allocations: 0.8484 MB / 1.192 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.9759, allocations: 0.9143 MB / 1.193 GB, free: 9.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.9763, allocations: 119.9 kB / 1.193 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.9789, allocations: 1.173 MB / 1.194 GB, free: 8.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007451/0.9796, allocations: 0.522 MB / 1.194 GB, free: 8.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.9809, allocations: 0.781 MB / 1.195 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.9849, allocations: 2.428 MB / 1.197 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.985, allocations: 0 / 1.197 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.985, allocations: 4 kB / 1.197 GB, free: 4.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.659e-05/0.9851, allocations: 0 / 1.197 GB, free: 4.855 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004032/0.9891, allocations: 1.867 MB / 1.199 GB, free: 2.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9892, allocations: 12.92 kB / 1.199 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.994, allocations: 0.662 MB / 1.2 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.9962, allocations: 1.008 MB / 1.201 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.9963, allocations: 98.89 kB / 1.201 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.9967, allocations: 124.3 kB / 1.201 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/1, allocations: 2.218 MB / 1.203 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/1, allocations: 7.938 kB / 1.203 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/1.001, allocations: 59.97 kB / 1.203 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/1.001, allocations: 166.2 kB / 1.204 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/1.004, allocations: 1.863 MB / 1.205 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/1.017, allocations: 12.45 MB / 1.218 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/1.022, allocations: 1.967 MB / 1.219 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009402/1.023, allocations: 0.605 MB / 1.22 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.023, allocations: 106.1 kB / 1.22 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.023, allocations: 43.56 kB / 1.22 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=103): time 3.907e-06/1.023, allocations: 0 / 1.22 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.006536/1.03, allocations: 3.71 MB / 1.224 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.03, allocations: 68.33 kB / 1.224 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.031, allocations: 0.9203 MB / 1.225 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/1.031, allocations: 45.7 kB / 1.225 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/1.032, allocations: 0.7276 MB / 1.226 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/1.032, allocations: 390.5 kB / 1.226 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/1.032, allocations: 287.2 kB / 1.226 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/1.032, allocations: 301.1 kB / 1.226 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009394/1.033, allocations: 0.6168 MB / 1.227 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.035, allocations: 1.106 MB / 1.228 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/1.037, allocations: 1.828 MB / 1.23 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.037, allocations: 12 kB / 1.23 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003643/1.041, allocations: 2.096 MB / 1.232 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.041, allocations: 12 kB / 1.232 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.041, allocations: 16 kB / 1.232 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000905/1.042, allocations: 262.9 kB / 1.232 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.043, allocations: 371.4 kB / 1.233 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008852/1.052, allocations: 11.59 MB / 1.244 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.053, allocations: 123.8 kB / 1.244 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.053, allocations: 75.92 kB / 1.244 GB, free: 1.93 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007797/1.054, allocations: 401.3 kB / 1.244 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/1.054, allocations: 126.5 kB / 1.245 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/1.058, allocations: 1.685 MB / 1.246 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.058, allocations: 12 kB / 1.246 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/1.058, allocations: 0 / 1.246 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.058, allocations: 3.984 kB / 1.246 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/1.063, allocations: 3.284 MB / 1.249 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.063, allocations: 4 kB / 1.249 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/1.064, allocations: 227.7 kB / 1.25 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/1.065, allocations: 242.6 kB / 1.25 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/1.065, allocations: 35.94 kB / 1.25 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008729/1.074, allocations: 11.57 MB / 1.261 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.074, allocations: 15.92 kB / 1.261 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/1.077, allocations: 1.799 MB / 1.263 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/1.078, allocations: 307.4 kB / 1.263 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.078, allocations: 27.94 kB / 1.263 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/1.079, allocations: 91.86 kB / 1.263 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/1.079, allocations: 96.7 kB / 1.264 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/1.079, allocations: 36 kB / 1.264 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008432/1.08, allocations: 0.6177 MB / 1.264 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.7e-07/1.08, allocations: 0 / 1.264 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00153/1.081, allocations: 392 kB / 1.265 GB, free: 11.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002758/1.082, allocations: 147.9 kB / 1.265 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00383/1.085, allocations: 2.501 MB / 1.267 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.085, allocations: 0 / 1.267 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/1.088, allocations: 1.629 MB / 1.269 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.09, allocations: 354.5 kB / 1.269 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/1.095, allocations: 2.855 MB / 1.272 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.096, allocations: 1.323 MB / 1.273 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/1.096, allocations: 115.4 kB / 1.273 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.096, allocations: 0 / 1.273 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of Templates: time 0.06194/1.158, allocations: 59.31 MB / 1.331 GB, free: 6.961 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches