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.009179/0.009179, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001966/0.001966, allocations: 195 kB / 16.67 MB, free: 5.977 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.747/1.747, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.835/2.835, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3785, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01487/0.3934, allocations: 11.1 MB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.4042, allocations: 5.8 MB / 1.183 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.4059, allocations: 47.69 kB / 1.183 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004594/0.4106, allocations: 1.729 MB / 1.185 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.4141, allocations: 1.178 MB / 1.186 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.4166, allocations: 0.8179 MB / 1.187 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.4198, allocations: 2.127 MB / 1.189 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.4218, allocations: 1.322 MB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.4234, allocations: 0.8523 MB / 1.191 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.4251, allocations: 0.9065 MB / 1.192 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003974/0.4255, allocations: 112 kB / 1.192 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.4282, allocations: 1.177 MB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007582/0.429, allocations: 0.5337 MB / 1.194 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.4303, allocations: 0.7849 MB / 1.194 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.4353, allocations: 2.436 MB / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4353, allocations: 0 / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4354, allocations: 0 / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001084/0.4355, allocations: 0 / 1.197 GB, free: 7.75 MB / 0.9512 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.00407/0.4395, allocations: 1.927 MB / 1.199 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4396, allocations: 8.031 kB / 1.199 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.4441, allocations: 0.6748 MB / 1.199 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.4459, allocations: 1.017 MB / 1.2 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.446, allocations: 94.91 kB / 1.2 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.4462, allocations: 132.2 kB / 1.201 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.4493, allocations: 2.206 MB / 1.203 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.4493, allocations: 19.88 kB / 1.203 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.4495, allocations: 55.98 kB / 1.203 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/0.4497, allocations: 162.3 kB / 1.203 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.4524, allocations: 1.863 MB / 1.205 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.4644, allocations: 12.45 MB / 1.217 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.4688, allocations: 1.968 MB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/0.4697, allocations: 0.605 MB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.4699, allocations: 102.1 kB / 1.22 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4699, allocations: 39.56 kB / 1.22 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 3.496e-06/0.47, allocations: 0 / 1.22 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.006476/0.4764, allocations: 3.732 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.4765, allocations: 64.41 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.4779, allocations: 0.9283 MB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.478, allocations: 41.7 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/0.4785, allocations: 0.7494 MB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.4789, allocations: 408.5 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/0.4793, allocations: 287.4 kB / 1.226 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4794, allocations: 301.1 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.4804, allocations: 0.6129 MB / 1.227 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.4817, allocations: 1.109 MB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.4841, allocations: 1.835 MB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.4842, allocations: 4 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003706/0.4879, allocations: 2.1 MB / 1.231 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.4879, allocations: 12 kB / 1.231 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/0.488, allocations: 19.94 kB / 1.231 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/0.4888, allocations: 263.4 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4901, allocations: 375.4 kB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009084/0.4992, allocations: 11.58 MB / 1.243 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5006, allocations: 123.8 kB / 1.244 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.5008, allocations: 79.92 kB / 1.244 GB, free: 4.691 MB / 0.9981 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.0007478/0.5015, allocations: 409.9 kB / 1.244 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.5018, allocations: 139.1 kB / 1.244 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.5046, allocations: 1.669 MB / 1.246 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.5047, allocations: 12 kB / 1.246 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.5047, allocations: 4 kB / 1.246 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5047, allocations: 3.984 kB / 1.246 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7686/1.273, allocations: 3.293 MB / 1.249 GB, free: 76.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.273, allocations: 6.469 kB / 1.249 GB, free: 76.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009619/1.274, allocations: 219.8 kB / 1.249 GB, free: 76.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007783/1.275, allocations: 250 kB / 1.249 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/1.275, allocations: 27.62 kB / 1.249 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.287, allocations: 11.57 MB / 1.261 GB, free: 65.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/1.287, allocations: 10.12 kB / 1.261 GB, free: 65.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/1.291, allocations: 1.804 MB / 1.263 GB, free: 64.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/1.292, allocations: 315.9 kB / 1.263 GB, free: 64.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/1.292, allocations: 35.61 kB / 1.263 GB, free: 64.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008343/1.293, allocations: 86.41 kB / 1.263 GB, free: 64.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/1.293, allocations: 104.6 kB / 1.263 GB, free: 64.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-05/1.293, allocations: 35.94 kB / 1.263 GB, free: 64.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00105/1.294, allocations: 0.6161 MB / 1.264 GB, free: 64.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.294, allocations: 0.6562 kB / 1.264 GB, free: 64.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001891/1.296, allocations: 394 kB / 1.264 GB, free: 64.51 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.0002549/1.296, allocations: 141.5 kB / 1.264 GB, free: 64.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00433/1.301, allocations: 2.5 MB / 1.267 GB, free: 62.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.301, allocations: 1.031 kB / 1.267 GB, free: 62.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002906/1.304, allocations: 1.632 MB / 1.268 GB, free: 61.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/1.306, allocations: 369 kB / 1.269 GB, free: 61.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005938/1.312, allocations: 2.787 MB / 1.271 GB, free: 60.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.313, allocations: 1.33 MB / 1.273 GB, free: 59.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001336/1.315, allocations: 358.3 kB / 1.273 GB, free: 59.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/1.315, allocations: 96.14 kB / 1.273 GB, free: 59.55 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/1.315, allocations: 0 / 1.273 GB, free: 59.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.04266/1.358, allocations: 17.35 MB / 1.29 GB, free: 58.49 MB / 0.9981 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/jenkins/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