Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.001725/0.001725, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001962/0.001962, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.62/2.62, allocations: 390.2 MB / 0.6643 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 59.91 kB / 0.812 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7447, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01173/0.7565, allocations: 11.06 MB / 0.9599 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.7668, allocations: 5.762 MB / 0.9655 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.7688, allocations: 49.19 kB / 0.9656 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004865/0.7738, allocations: 1.618 MB / 0.9672 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.7799, allocations: 1.056 MB / 0.9682 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.7842, allocations: 0.7397 MB / 0.9689 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00564/0.7899, allocations: 2.131 MB / 0.971 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/0.7939, allocations: 1.497 MB / 0.9724 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.7963, allocations: 0.8564 MB / 0.9733 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.7985, allocations: 0.9432 MB / 0.9742 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006049/0.7992, allocations: 114.3 kB / 0.9743 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.8024, allocations: 1.181 MB / 0.9755 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009885/0.8034, allocations: 0.5269 MB / 0.976 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.8048, allocations: 0.7854 MB / 0.9767 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004501/0.8094, allocations: 2.489 MB / 0.9792 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.8094, allocations: 0 / 0.9792 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8094, allocations: 4 kB / 0.9792 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.287e-05/0.8095, allocations: 0 / 0.9792 GB, free: 3.164 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00358/0.8131, allocations: 1.867 MB / 0.981 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8131, allocations: 8.031 kB / 0.981 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.8177, allocations: 0.6699 MB / 0.9817 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.8194, allocations: 0.9106 MB / 0.9826 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.8195, allocations: 102.9 kB / 0.9827 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.8197, allocations: 120.4 kB / 0.9828 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.8232, allocations: 2.21 MB / 0.9849 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.8233, allocations: 11.84 kB / 0.9849 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.8234, allocations: 67.97 kB / 0.985 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/0.8236, allocations: 158.3 kB / 0.9852 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.8265, allocations: 1.867 MB / 0.987 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.8412, allocations: 12.48 MB / 0.9992 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.8458, allocations: 1.968 MB / 1.001 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000962/0.8468, allocations: 0.605 MB / 1.002 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.847, allocations: 102.1 kB / 1.002 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.8471, allocations: 47.5 kB / 1.002 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.828e-06/0.8471, allocations: 4 kB / 1.002 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006677/0.8538, allocations: 3.706 MB / 1.005 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.8538, allocations: 60.41 kB / 1.005 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.855, allocations: 0.9243 MB / 1.006 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.8551, allocations: 41.7 kB / 1.006 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.8556, allocations: 0.7275 MB / 1.007 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.856, allocations: 390.5 kB / 1.008 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/0.8564, allocations: 287.2 kB / 1.008 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8565, allocations: 301.1 kB / 1.008 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009601/0.8575, allocations: 0.6207 MB / 1.009 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.8589, allocations: 1.098 MB / 1.01 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.8615, allocations: 1.835 MB / 1.012 GB, free: 24 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.8615, allocations: 4 kB / 1.012 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003606/0.8651, allocations: 2.095 MB / 1.014 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.8651, allocations: 13 kB / 1.014 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.8652, allocations: 19.94 kB / 1.014 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/0.866, allocations: 270.5 kB / 1.014 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.8674, allocations: 371.4 kB / 1.014 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008744/0.8761, allocations: 11.59 MB / 1.026 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8776, allocations: 123.8 kB / 1.026 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.8777, allocations: 75.92 kB / 1.026 GB, free: 296 kB / 0.7794 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.0007242/0.8784, allocations: 401.2 kB / 1.026 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.8786, allocations: 134.4 kB / 1.026 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.8815, allocations: 1.681 MB / 1.028 GB, free: 14.04 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.8815, allocations: 12 kB / 1.028 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8816, allocations: 0 / 1.028 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.8816, allocations: 3.984 kB / 1.028 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.8867, allocations: 3.299 MB / 1.031 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.8868, allocations: 4 kB / 1.031 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.8876, allocations: 219.6 kB / 1.031 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007107/0.8883, allocations: 246.8 kB / 1.032 GB, free: 10.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.8884, allocations: 27.94 kB / 1.032 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00835/0.8968, allocations: 11.57 MB / 1.043 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.8968, allocations: 8 kB / 1.043 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.9, allocations: 1.796 MB / 1.045 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.9006, allocations: 315.3 kB / 1.045 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.9008, allocations: 24 kB / 1.045 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.9014, allocations: 91.86 kB / 1.045 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.9017, allocations: 100.7 kB / 1.045 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.9017, allocations: 35.98 kB / 1.045 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007813/0.9025, allocations: 0.6216 MB / 1.046 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9025, allocations: 0 / 1.046 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00151/0.904, allocations: 388 kB / 1.046 GB, free: 9.891 MB / 0.8106 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.0002972/0.9044, allocations: 143 kB / 1.046 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004357/0.9087, allocations: 2.879 MB / 1.049 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.9087, allocations: 0.875 kB / 1.049 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.9108, allocations: 1.625 MB / 1.051 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.9127, allocations: 362.7 kB / 1.051 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.9183, allocations: 3.388 MB / 1.054 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9194, allocations: 1.331 MB / 1.056 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0013/0.9208, allocations: 363.3 kB / 1.056 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.9211, allocations: 99.36 kB / 1.056 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.094e-06/0.9211, allocations: 0 / 1.056 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.03332/0.9544, allocations: 17.13 MB / 1.073 GB, free: 14.41 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches