Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008702/0.008702, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001813/0.001813, allocations: 203.1 kB / 16.68 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 75.88 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7831, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01766/0.8008, allocations: 16.01 MB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007871/0.8087, allocations: 4.824 MB / 1.228 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.81, allocations: 67.69 kB / 1.228 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002984/0.8131, allocations: 1.046 MB / 1.229 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.8156, allocations: 0.7424 MB / 1.23 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.8182, allocations: 0.9151 MB / 1.231 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004255/0.8225, allocations: 3.614 MB / 1.234 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006112/0.8286, allocations: 4.761 MB / 1.239 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.8312, allocations: 1.593 MB / 1.241 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.8346, allocations: 1.784 MB / 1.242 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.8356, allocations: 340 kB / 1.243 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.8377, allocations: 0.7997 MB / 1.243 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.8399, allocations: 1.326 MB / 1.245 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.8426, allocations: 1.451 MB / 1.246 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005475/0.8481, allocations: 5.132 MB / 1.251 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8481, allocations: 0 / 1.251 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8481, allocations: 3.938 kB / 1.251 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.029e-05/0.8482, allocations: 0 / 1.251 GB, free: 1.012 MB / 0.9669 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.004933/0.8532, allocations: 2.662 MB / 1.254 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.8532, allocations: 8.031 kB / 1.254 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.8571, allocations: 0.8329 MB / 1.255 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.8597, allocations: 1.568 MB / 1.256 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.8599, allocations: 177.1 kB / 1.256 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/0.8602, allocations: 236.4 kB / 1.256 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006068/0.8663, allocations: 4.161 MB / 1.26 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.8664, allocations: 7.938 kB / 1.261 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.8666, allocations: 95.98 kB / 1.261 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.8668, allocations: 172.5 kB / 1.261 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/0.8721, allocations: 3.632 MB / 1.264 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.8889, allocations: 16.42 MB / 1.28 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.892, allocations: 2.292 MB / 1.283 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.8928, allocations: 0.5809 MB / 1.283 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.8929, allocations: 97.66 kB / 1.283 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.893, allocations: 43.06 kB / 1.283 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/0.893, allocations: 4 kB / 1.283 GB, free: 14.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00497/0.898, allocations: 3.428 MB / 1.287 GB, free: 10.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.898, allocations: 111.5 kB / 1.287 GB, free: 10.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.8992, allocations: 1.014 MB / 1.288 GB, free: 9.395 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.8992, allocations: 41.77 kB / 1.288 GB, free: 9.348 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.8998, allocations: 1.103 MB / 1.289 GB, free: 8.227 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.9, allocations: 276.2 kB / 1.289 GB, free: 7.953 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/0.9004, allocations: 279.2 kB / 1.289 GB, free: 7.676 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9006, allocations: 414.7 kB / 1.29 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.9014, allocations: 0.6167 MB / 1.29 GB, free: 6.645 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.9026, allocations: 1.189 MB / 1.292 GB, free: 5.195 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.9047, allocations: 1.868 MB / 1.293 GB, free: 3.059 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.9047, allocations: 4 kB / 1.293 GB, free: 3.055 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00288/0.9076, allocations: 2.026 MB / 1.295 GB, free: 1.008 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.9076, allocations: 12 kB / 1.295 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.9076, allocations: 20 kB / 1.295 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.908, allocations: 164 kB / 1.296 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.9091, allocations: 343.4 kB / 1.296 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.372e-05/0.9092, allocations: 35.86 kB / 1.296 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/0.91, allocations: 127.7 kB / 1.296 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.9101, allocations: 75.98 kB / 1.296 GB, free: 240 kB / 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.001357/0.9115, allocations: 0.9693 MB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.9117, allocations: 106.7 kB / 1.297 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.9136, allocations: 1.237 MB / 1.298 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.9137, allocations: 11.94 kB / 1.298 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.9137, allocations: 0 / 1.298 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.9137, allocations: 3.984 kB / 1.298 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.919, allocations: 3.806 MB / 1.302 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.9191, allocations: 4 kB / 1.302 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.9197, allocations: 159.7 kB / 1.302 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.92, allocations: 143.6 kB / 1.302 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.9201, allocations: 12 kB / 1.302 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.9201, allocations: 11.94 kB / 1.302 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.9201, allocations: 3.938 kB / 1.302 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.9218, allocations: 1.469 MB / 1.304 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.9222, allocations: 271.8 kB / 1.304 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.9223, allocations: 16 kB / 1.304 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.9228, allocations: 63.91 kB / 1.304 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.923, allocations: 56.42 kB / 1.304 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.923, allocations: 24 kB / 1.304 GB, free: 7.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000837/0.9239, allocations: 0.7031 MB / 1.305 GB, free: 6.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9239, allocations: 0 / 1.305 GB, free: 6.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001417/0.9253, allocations: 388 kB / 1.305 GB, free: 6.512 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.0001869/0.9255, allocations: 123.1 kB / 1.305 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.9276, allocations: 1.723 MB / 1.307 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9276, allocations: 0 / 1.307 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.9285, allocations: 0.8628 MB / 1.308 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.9298, allocations: 274.3 kB / 1.308 GB, free: 3.371 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.935, allocations: 3.772 MB / 1.312 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.9365, allocations: 1.916 MB / 1.314 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009645/0.9375, allocations: 449.4 kB / 1.314 GB, free: 13.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.9377, allocations: 83.42 kB / 1.314 GB, free: 13.06 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.9377, allocations: 4 kB / 1.314 GB, free: 13.06 MB / 1.045 GB Notification: Performance of Templates: time 0.02339/0.9611, allocations: 13.65 MB / 1.328 GB, free: 15.55 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches