Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008842/0.008842, allocations: 98.19 kB / 15.73 MB, free: 6.004 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.002154/0.002154, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 60.12 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3152, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01971/0.3349, allocations: 16.05 MB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00865/0.3435, allocations: 4.824 MB / 1.241 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.3454, allocations: 67.69 kB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.3486, allocations: 1.073 MB / 1.242 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.351, allocations: 0.7777 MB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.3537, allocations: 0.9227 MB / 1.244 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004585/0.3582, allocations: 3.614 MB / 1.247 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.724/1.082, allocations: 3.544 MB / 1.251 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/1.086, allocations: 1.594 MB / 1.252 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/1.089, allocations: 1.788 MB / 1.254 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007755/1.09, allocations: 339.4 kB / 1.254 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/1.091, allocations: 0.8011 MB / 1.255 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001253/1.093, allocations: 1.355 MB / 1.256 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/1.094, allocations: 1.458 MB / 1.258 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007452/1.102, allocations: 5.143 MB / 1.263 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.102, allocations: 4.688 kB / 1.263 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.102, allocations: 0 / 1.263 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001652/1.102, allocations: 0.7188 kB / 1.263 GB, free: 9.293 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.007685/1.11, allocations: 2.708 MB / 1.266 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.11, allocations: 9.469 kB / 1.266 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004441/1.114, allocations: 0.8469 MB / 1.266 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/1.118, allocations: 1.579 MB / 1.268 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/1.118, allocations: 177.7 kB / 1.268 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007276/1.119, allocations: 226.6 kB / 1.268 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008029/1.127, allocations: 4.165 MB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/1.127, allocations: 10.16 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/1.127, allocations: 103.5 kB / 1.273 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/1.127, allocations: 167.5 kB / 1.273 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006655/1.134, allocations: 3.629 MB / 1.276 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/1.154, allocations: 16.44 MB / 1.292 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/1.158, allocations: 2.24 MB / 1.294 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009364/1.159, allocations: 0.5563 MB / 1.295 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.159, allocations: 94.16 kB / 1.295 GB, free: 9.918 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/1.159, allocations: 49.3 kB / 1.295 GB, free: 9.867 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/1.159, allocations: 0 / 1.295 GB, free: 9.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.006433/1.166, allocations: 3.503 MB / 1.299 GB, free: 7.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.166, allocations: 111.7 kB / 1.299 GB, free: 7.758 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.167, allocations: 1.014 MB / 1.3 GB, free: 7.344 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/1.167, allocations: 40.52 kB / 1.3 GB, free: 7.301 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/1.168, allocations: 1.136 MB / 1.301 GB, free: 6.426 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/1.169, allocations: 297.1 kB / 1.301 GB, free: 6.203 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004105/1.169, allocations: 278.2 kB / 1.301 GB, free: 6.066 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000243/1.169, allocations: 410.2 kB / 1.302 GB, free: 5.715 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009775/1.17, allocations: 0.6181 MB / 1.302 GB, free: 5.516 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/1.172, allocations: 1.185 MB / 1.304 GB, free: 4.578 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/1.174, allocations: 1.867 MB / 1.305 GB, free: 3.375 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.174, allocations: 10.59 kB / 1.305 GB, free: 3.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003551/1.178, allocations: 2.017 MB / 1.307 GB, free: 2.699 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.178, allocations: 17.62 kB / 1.307 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/1.178, allocations: 19.5 kB / 1.307 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/1.178, allocations: 163.6 kB / 1.308 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.179, allocations: 347.8 kB / 1.308 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-05/1.179, allocations: 38.77 kB / 1.308 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.18, allocations: 126.3 kB / 1.308 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.181, allocations: 74.31 kB / 1.308 GB, free: 2.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00177/1.182, allocations: 0.9721 MB / 1.309 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/1.183, allocations: 112.8 kB / 1.309 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/1.185, allocations: 1.228 MB / 1.31 GB, free: 1.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.185, allocations: 13.19 kB / 1.31 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.185, allocations: 1.5 kB / 1.31 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.185, allocations: 9.156 kB / 1.31 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007323/1.192, allocations: 3.806 MB / 1.314 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.192, allocations: 5.766 kB / 1.314 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/1.193, allocations: 156.8 kB / 1.314 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/1.193, allocations: 148.4 kB / 1.314 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/1.193, allocations: 18.12 kB / 1.314 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/1.193, allocations: 9.844 kB / 1.314 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.193, allocations: 7.844 kB / 1.314 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/1.195, allocations: 1.467 MB / 1.316 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/1.196, allocations: 279 kB / 1.316 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/1.196, allocations: 15.52 kB / 1.316 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008254/1.197, allocations: 67.14 kB / 1.316 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/1.197, allocations: 62.38 kB / 1.316 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/1.197, allocations: 20.34 kB / 1.316 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001111/1.199, allocations: 0.7007 MB / 1.317 GB, free: 14.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/1.199, allocations: 0 / 1.317 GB, free: 14.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001939/1.201, allocations: 391.5 kB / 1.317 GB, free: 14.49 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/1.201, allocations: 128.8 kB / 1.317 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002419/1.203, allocations: 1.657 MB / 1.319 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.203, allocations: 0 / 1.319 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/1.204, allocations: 0.838 MB / 1.32 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.206, allocations: 268.5 kB / 1.32 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/1.213, allocations: 3.833 MB / 1.324 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/1.215, allocations: 1.924 MB / 1.326 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001359/1.217, allocations: 444.1 kB / 1.326 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.217, allocations: 83.33 kB / 1.326 GB, free: 9.707 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/1.217, allocations: 0 / 1.326 GB, free: 9.707 MB / 1.029 GB Notification: Performance of Templates: time 0.03056/1.248, allocations: 13.76 MB / 1.34 GB, free: 3.191 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches