Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108.1 kB / 15.99 MB, free: 6.355 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.001789/0.001789, allocations: 199 kB / 16.91 MB, free: 6.188 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.4 MB / 0.755 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 75.89 kB / 0.924 GB, free: 320 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.8316, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.05048/0.8822, allocations: 36.91 MB / 1.118 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.9106, allocations: 13.56 MB / 1.132 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/0.9157, allocations: 97.28 kB / 1.132 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006988/0.9228, allocations: 2.123 MB / 1.134 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.9283, allocations: 1.332 MB / 1.135 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01099/0.9393, allocations: 3.278 MB / 1.138 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.9494, allocations: 6.423 MB / 1.145 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02137/0.9708, allocations: 11.98 MB / 1.156 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006203/0.9771, allocations: 2.754 MB / 1.159 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007064/0.9842, allocations: 3.379 MB / 1.162 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002044/0.9863, allocations: 0.6172 MB / 1.163 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.9902, allocations: 1.256 MB / 1.164 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004615/0.9949, allocations: 2.48 MB / 1.167 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005755/1.001, allocations: 2.553 MB / 1.169 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.011, allocations: 7.908 MB / 1.177 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.011, allocations: 0 / 1.177 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/1.011, allocations: 4 kB / 1.177 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003129/1.012, allocations: 0 / 1.177 GB, free: 14.24 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01292/1.025, allocations: 4.303 MB / 1.181 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.025, allocations: 12.03 kB / 1.181 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/1.03, allocations: 1.038 MB / 1.182 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/1.036, allocations: 2.191 MB / 1.184 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/1.036, allocations: 325 kB / 1.184 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/1.038, allocations: 436.2 kB / 1.185 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/1.055, allocations: 7.405 MB / 1.192 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/1.055, allocations: 11.92 kB / 1.192 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/1.056, allocations: 184 kB / 1.192 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/1.056, allocations: 286.9 kB / 1.193 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/1.069, allocations: 6.03 MB / 1.198 GB, free: 7.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04615/1.115, allocations: 32.7 MB / 1.23 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/1.119, allocations: 2.146 MB / 1.233 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/1.121, allocations: 1.244 MB / 1.234 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/1.121, allocations: 110.1 kB / 1.234 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.121, allocations: 51.5 kB / 1.234 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/1.121, allocations: 0 / 1.234 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=101): time 0.008905/1.13, allocations: 5.278 MB / 1.239 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.13, allocations: 141.5 kB / 1.239 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.133, allocations: 1.464 MB / 1.241 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/1.133, allocations: 45.7 kB / 1.241 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.134, allocations: 1.863 MB / 1.242 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/1.135, allocations: 386.8 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007555/1.136, allocations: 455.1 kB / 1.243 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.136, allocations: 301.1 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.138, allocations: 1.149 MB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/1.141, allocations: 2.211 MB / 1.247 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005/1.146, allocations: 3.435 MB / 1.25 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/1.146, allocations: 12 kB / 1.25 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006148/1.152, allocations: 3.367 MB / 1.253 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/1.152, allocations: 20 kB / 1.254 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/1.152, allocations: 35.98 kB / 1.254 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.983e-05/1.152, allocations: 48 kB / 1.254 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/1.155, allocations: 0.6319 MB / 1.254 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.425e-05/1.155, allocations: 71.78 kB / 1.254 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/1.157, allocations: 326.7 kB / 1.255 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/1.157, allocations: 120 kB / 1.255 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004334/1.162, allocations: 2.432 MB / 1.257 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002709/1.164, allocations: 2.039 MB / 1.259 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004341/1.169, allocations: 3.068 MB / 1.262 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.427e-05/1.169, allocations: 16 kB / 1.262 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005381/1.174, allocations: 2.976 MB / 1.265 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.174, allocations: 23.94 kB / 1.265 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/1.174, allocations: 36 kB / 1.265 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/1.174, allocations: 48 kB / 1.265 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/1.176, allocations: 0.5576 MB / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.218e-05/1.176, allocations: 75.66 kB / 1.266 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/1.179, allocations: 267.2 kB / 1.266 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/1.179, allocations: 112 kB / 1.266 GB, free: 13.35 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006/1.179, allocations: 340.1 kB / 1.266 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/1.18, allocations: 158.1 kB / 1.267 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/1.184, allocations: 2.25 MB / 1.269 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.184, allocations: 19.94 kB / 1.269 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.184, allocations: 0 / 1.269 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.184, allocations: 7.984 kB / 1.269 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.201, allocations: 11 MB / 1.28 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.201, allocations: 8.219 kB / 1.28 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.203, allocations: 387.3 kB / 1.28 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/1.203, allocations: 19.94 kB / 1.28 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/1.203, allocations: 32 kB / 1.28 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.989e-05/1.203, allocations: 23.92 kB / 1.28 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/1.203, allocations: 15.94 kB / 1.28 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/1.207, allocations: 2.755 MB / 1.283 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/1.208, allocations: 454.9 kB / 1.283 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/1.208, allocations: 35.84 kB / 1.283 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.209, allocations: 171.7 kB / 1.283 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.21, allocations: 104.2 kB / 1.283 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/1.21, allocations: 36 kB / 1.283 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001663/1.211, allocations: 1.009 MB / 1.284 GB, free: 10.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.211, allocations: 0 / 1.284 GB, free: 10.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004303/1.216, allocations: 1.133 MB / 1.286 GB, free: 8.984 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003417/1.216, allocations: 150.9 kB / 1.286 GB, free: 8.828 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007486/1.224, allocations: 4.293 MB / 1.29 GB, free: 4.555 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/1.224, allocations: 4 kB / 1.29 GB, free: 4.551 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.225, allocations: 1.055 MB / 1.291 GB, free: 3.492 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.228, allocations: 465.2 kB / 1.291 GB, free: 3.062 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/1.244, allocations: 9.435 MB / 1.301 GB, free: 9.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003749/1.247, allocations: 2.946 MB / 1.303 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/1.248, allocations: 143.4 kB / 1.304 GB, free: 6.309 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/1.248, allocations: 0 / 1.304 GB, free: 6.309 MB / 1.029 GB Notification: Performance of Templates: time 0.06739/1.316, allocations: 41.14 MB / 1.344 GB, free: 13.3 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches