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.001689/0.001689, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.002124/0.002124, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.515/1.515, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.645/2.645, allocations: 437.1 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 68.45 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.332, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01438/0.3464, allocations: 11.09 MB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3565, allocations: 5.788 MB / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.3579, allocations: 51.69 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004683/0.3626, allocations: 1.735 MB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.3662, allocations: 1.139 MB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.3686, allocations: 0.8224 MB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003069/0.3717, allocations: 2.119 MB / 1.04 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.3736, allocations: 1.311 MB / 1.041 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.3752, allocations: 0.8407 MB / 1.042 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.3766, allocations: 0.9026 MB / 1.043 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.3768, allocations: 120 kB / 1.043 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.3792, allocations: 1.181 MB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006268/0.3799, allocations: 0.518 MB / 1.045 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.3809, allocations: 0.7888 MB / 1.046 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.3845, allocations: 2.391 MB / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3846, allocations: 0 / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.187e-06/0.3846, allocations: 3.984 kB / 1.048 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.504e-05/0.3846, allocations: 0 / 1.048 GB, free: 11.67 MB / 0.8262 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.003197/0.3878, allocations: 1.867 MB / 1.05 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3879, allocations: 12.92 kB / 1.05 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.3924, allocations: 0.666 MB / 1.051 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.3942, allocations: 0.9106 MB / 1.051 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.3943, allocations: 98.89 kB / 1.052 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.3945, allocations: 128.2 kB / 1.052 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.3984, allocations: 2.206 MB / 1.054 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.947e-05/0.3985, allocations: 11.88 kB / 1.054 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.3988, allocations: 67.95 kB / 1.054 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/0.3991, allocations: 162.3 kB / 1.054 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/0.4025, allocations: 1.875 MB / 1.056 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.4168, allocations: 12.46 MB / 1.068 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005084/0.422, allocations: 1.966 MB / 1.07 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/0.423, allocations: 0.6089 MB / 1.071 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.4232, allocations: 98.08 kB / 1.071 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4232, allocations: 47.56 kB / 1.071 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=103): time 4.318e-06/0.4232, allocations: 3.938 kB / 1.071 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.4624/0.8857, allocations: 3.704 MB / 1.074 GB, free: 60.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.8857, allocations: 67.67 kB / 1.074 GB, free: 60 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.887, allocations: 0.9201 MB / 1.075 GB, free: 59.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.8871, allocations: 42.73 kB / 1.075 GB, free: 59.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.8875, allocations: 0.7321 MB / 1.076 GB, free: 59.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.8877, allocations: 388.1 kB / 1.076 GB, free: 59.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.8881, allocations: 286.8 kB / 1.077 GB, free: 59.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.8882, allocations: 307.2 kB / 1.077 GB, free: 58.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/0.8891, allocations: 0.6122 MB / 1.078 GB, free: 58.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.8902, allocations: 1.106 MB / 1.079 GB, free: 57.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.8921, allocations: 1.828 MB / 1.08 GB, free: 56.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.8922, allocations: 6.188 kB / 1.08 GB, free: 56.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003487/0.8957, allocations: 2.099 MB / 1.082 GB, free: 55.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.8957, allocations: 19.69 kB / 1.083 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.8957, allocations: 16.31 kB / 1.083 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.8966, allocations: 253.8 kB / 1.083 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.8979, allocations: 374.5 kB / 1.083 GB, free: 55.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/0.9045, allocations: 11.59 MB / 1.094 GB, free: 44.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.9059, allocations: 123.9 kB / 1.095 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.9061, allocations: 70.22 kB / 1.095 GB, free: 44.32 MB / 0.8419 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.0006292/0.9067, allocations: 414.5 kB / 1.095 GB, free: 44.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.9069, allocations: 131.4 kB / 1.095 GB, free: 43.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.9098, allocations: 1.678 MB / 1.097 GB, free: 43.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.9098, allocations: 11.38 kB / 1.097 GB, free: 43.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.9099, allocations: 6.781 kB / 1.097 GB, free: 43.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.9099, allocations: 5.25 kB / 1.097 GB, free: 43.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.9147, allocations: 3.297 MB / 1.1 GB, free: 41.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9147, allocations: 4.781 kB / 1.1 GB, free: 41.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/0.9156, allocations: 218.8 kB / 1.1 GB, free: 41.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006803/0.9163, allocations: 247.6 kB / 1.1 GB, free: 41.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.9163, allocations: 28.84 kB / 1.101 GB, free: 41.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006218/0.9226, allocations: 11.56 MB / 1.112 GB, free: 30.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.9226, allocations: 19.7 kB / 1.112 GB, free: 30.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.9252, allocations: 1.801 MB / 1.114 GB, free: 29.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.9258, allocations: 312 kB / 1.114 GB, free: 29.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.926, allocations: 25.09 kB / 1.114 GB, free: 29.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.9268, allocations: 91.86 kB / 1.114 GB, free: 29.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.927, allocations: 92.72 kB / 1.114 GB, free: 29.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.9271, allocations: 40.2 kB / 1.114 GB, free: 29.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007911/0.9279, allocations: 0.6206 MB / 1.115 GB, free: 28.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9279, allocations: 0 / 1.115 GB, free: 28.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001469/0.9294, allocations: 392.7 kB / 1.115 GB, free: 28.8 MB / 0.8419 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.0001987/0.9296, allocations: 144.7 kB / 1.115 GB, free: 28.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00396/0.9336, allocations: 2.872 MB / 1.118 GB, free: 27.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9336, allocations: 5.25 kB / 1.118 GB, free: 27.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.9354, allocations: 1.625 MB / 1.12 GB, free: 26.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.9371, allocations: 358.1 kB / 1.12 GB, free: 26.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.9412, allocations: 2.885 MB / 1.123 GB, free: 24.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.9421, allocations: 1.329 MB / 1.124 GB, free: 23.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.9425, allocations: 115.2 kB / 1.124 GB, free: 23.76 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.9425, allocations: 0 / 1.124 GB, free: 23.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.0575/1, allocations: 59.16 MB / 1.182 GB, free: 14.11 MB / 0.8731 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=400 -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