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.008464/0.008464, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001563/0.001563, allocations: 191.3 kB / 16.67 MB, free: 5.961 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.253/2.253, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002564, allocations: 67.91 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 140.4 MB / 1.088 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01493/1.071, allocations: 11.1 MB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01107/1.082, allocations: 5.789 MB / 1.104 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/1.084, allocations: 49.69 kB / 1.104 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005687/1.09, allocations: 1.726 MB / 1.106 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/1.096, allocations: 1.145 MB / 1.107 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/1.099, allocations: 0.8108 MB / 1.108 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004198/1.103, allocations: 2.128 MB / 1.11 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/1.106, allocations: 1.307 MB / 1.111 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/1.108, allocations: 0.8538 MB / 1.112 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/1.111, allocations: 0.9179 MB / 1.113 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007063/1.111, allocations: 115.2 kB / 1.113 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/1.116, allocations: 1.178 MB / 1.114 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/1.117, allocations: 0.5238 MB / 1.115 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002431/1.119, allocations: 0.7815 MB / 1.116 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007061/1.126, allocations: 2.423 MB / 1.118 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.127, allocations: 0 / 1.118 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.484e-06/1.127, allocations: 0 / 1.118 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001245/1.127, allocations: 1.312 kB / 1.118 GB, free: 3.902 MB / 0.8731 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.008352/1.135, allocations: 1.873 MB / 1.12 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.901e-05/1.135, allocations: 18.7 kB / 1.12 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006232/1.141, allocations: 0.66 MB / 1.121 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/1.144, allocations: 1.004 MB / 1.122 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.144, allocations: 97.64 kB / 1.122 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005733/1.145, allocations: 126.1 kB / 1.122 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/1.15, allocations: 2.213 MB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.003e-05/1.15, allocations: 14.2 kB / 1.124 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/1.151, allocations: 57.97 kB / 1.124 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002981/1.151, allocations: 165.4 kB / 1.124 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/1.155, allocations: 1.865 MB / 1.126 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/1.17, allocations: 12.43 MB / 1.138 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/1.176, allocations: 1.972 MB / 1.14 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.177, allocations: 0.6077 MB / 1.141 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/1.177, allocations: 97.17 kB / 1.141 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.177, allocations: 49.25 kB / 1.141 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=103): time 3.166e-06/1.177, allocations: 0 / 1.141 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=110): time 0.008403/1.185, allocations: 3.711 MB / 1.144 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.186, allocations: 63.03 kB / 1.144 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.188, allocations: 0.9161 MB / 1.145 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.831e-05/1.188, allocations: 45.11 kB / 1.145 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/1.188, allocations: 0.7312 MB / 1.146 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/1.189, allocations: 386.7 kB / 1.146 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/1.19, allocations: 285.9 kB / 1.147 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.19, allocations: 307 kB / 1.147 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/1.191, allocations: 0.6117 MB / 1.148 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.193, allocations: 1.107 MB / 1.149 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.195, allocations: 1.83 MB / 1.15 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.195, allocations: 9.156 kB / 1.15 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004562/1.2, allocations: 2.099 MB / 1.153 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/1.2, allocations: 12.89 kB / 1.153 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/1.2, allocations: 23.8 kB / 1.153 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009597/1.201, allocations: 262.5 kB / 1.153 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.203, allocations: 366 kB / 1.153 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.214, allocations: 11.59 MB / 1.164 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.216, allocations: 135.8 kB / 1.165 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/1.216, allocations: 70.84 kB / 1.165 GB, free: 2.031 MB / 0.9044 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.001204/1.218, allocations: 400.8 kB / 1.165 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/1.218, allocations: 127.2 kB / 1.165 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/1.221, allocations: 1.683 MB / 1.167 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.221, allocations: 11.47 kB / 1.167 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.221, allocations: 2.375 kB / 1.167 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/1.222, allocations: 11.91 kB / 1.167 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006277/1.228, allocations: 3.291 MB / 1.17 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.228, allocations: 4.594 kB / 1.17 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/1.229, allocations: 223 kB / 1.17 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/1.229, allocations: 240.1 kB / 1.171 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.23, allocations: 31 kB / 1.171 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/1.239, allocations: 11.56 MB / 1.182 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.239, allocations: 10.75 kB / 1.182 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/1.243, allocations: 1.795 MB / 1.184 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.244, allocations: 302.9 kB / 1.184 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/1.245, allocations: 36.48 kB / 1.184 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.246, allocations: 89.53 kB / 1.184 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.246, allocations: 104.8 kB / 1.184 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/1.246, allocations: 36.03 kB / 1.184 GB, free: 1.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001088/1.247, allocations: 0.6153 MB / 1.185 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/1.247, allocations: 0 / 1.185 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002392/1.25, allocations: 393.9 kB / 1.185 GB, free: 0.6758 MB / 0.92 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.0003787/1.25, allocations: 148.4 kB / 1.185 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004317/1.254, allocations: 2.5 MB / 1.188 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.254, allocations: 0.875 kB / 1.188 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/1.257, allocations: 1.626 MB / 1.189 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.259, allocations: 361.4 kB / 1.19 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/1.265, allocations: 2.747 MB / 1.192 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/1.266, allocations: 1.324 MB / 1.194 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00127/1.267, allocations: 354.3 kB / 1.194 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/1.268, allocations: 95.83 kB / 1.194 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/1.268, allocations: 0 / 1.194 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.03795/1.306, allocations: 17.66 MB / 1.211 GB, free: 11.22 MB / 0.9512 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