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.00182/0.00182, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001946/0.001946, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.613/2.613, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 65.56 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7527, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04523/0.798, allocations: 37.27 MB / 1.119 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.8223, allocations: 13.7 MB / 1.133 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004355/0.8267, allocations: 110.2 kB / 1.133 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006413/0.8332, allocations: 2.279 MB / 1.135 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.8377, allocations: 1.438 MB / 1.136 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009217/0.8469, allocations: 3.53 MB / 1.14 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007596/0.8545, allocations: 6.377 MB / 1.146 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.8671, allocations: 10.04 MB / 1.156 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.8717, allocations: 2.723 MB / 1.159 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00535/0.8771, allocations: 3.204 MB / 1.162 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.8785, allocations: 0.6211 MB / 1.162 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.8816, allocations: 1.252 MB / 1.164 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.8845, allocations: 2.476 MB / 1.166 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003672/0.8882, allocations: 2.553 MB / 1.168 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009722/0.8979, allocations: 9.1 MB / 1.177 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.898, allocations: 0 / 1.177 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/0.898, allocations: 0 / 1.177 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002166/0.8982, allocations: 0 / 1.177 GB, free: 14.02 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.01017/0.9084, allocations: 4.306 MB / 1.182 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9084, allocations: 8.031 kB / 1.182 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/0.9134, allocations: 1.034 MB / 1.183 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.9177, allocations: 2.191 MB / 1.185 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.918, allocations: 325 kB / 1.185 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.9191, allocations: 428.2 kB / 1.185 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.9341, allocations: 7.408 MB / 1.193 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.9343, allocations: 15.88 kB / 1.193 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006768/0.9349, allocations: 180 kB / 1.193 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003411/0.9353, allocations: 290.9 kB / 1.193 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.9468, allocations: 6.026 MB / 1.199 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04031/0.9871, allocations: 32.71 MB / 1.231 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.9907, allocations: 2.154 MB / 1.233 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.9924, allocations: 1.244 MB / 1.234 GB, free: 484 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.9926, allocations: 98.09 kB / 1.234 GB, free: 368 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.9926, allocations: 47.55 kB / 1.234 GB, free: 308 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/0.9926, allocations: 4 kB / 1.234 GB, free: 304 kB / 0.9512 GB Notification: Performance of matching and sorting (n=101): time 0.007845/1, allocations: 5.27 MB / 1.24 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/1.001, allocations: 145.5 kB / 1.24 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.003, allocations: 1.472 MB / 1.241 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.003, allocations: 41.7 kB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.004, allocations: 1.867 MB / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/1.004, allocations: 378.8 kB / 1.243 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006899/1.005, allocations: 463.1 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.005, allocations: 301.1 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.007, allocations: 1.149 MB / 1.245 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/1.01, allocations: 2.204 MB / 1.247 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/1.014, allocations: 3.434 MB / 1.251 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/1.014, allocations: 12 kB / 1.251 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005693/1.02, allocations: 3.374 MB / 1.254 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/1.02, allocations: 16 kB / 1.254 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/1.02, allocations: 36 kB / 1.254 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.877e-05/1.02, allocations: 48 kB / 1.254 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/1.023, allocations: 0.6319 MB / 1.255 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.718e-05/1.023, allocations: 75.72 kB / 1.255 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.025, allocations: 334.6 kB / 1.255 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/1.025, allocations: 112 kB / 1.255 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003796/1.029, allocations: 2.436 MB / 1.258 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002442/1.031, allocations: 2.039 MB / 1.26 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004019/1.035, allocations: 3.064 MB / 1.263 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.201e-05/1.035, allocations: 12 kB / 1.263 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005109/1.041, allocations: 2.98 MB / 1.265 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/1.041, allocations: 20 kB / 1.266 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/1.041, allocations: 32 kB / 1.266 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.891e-05/1.041, allocations: 51.98 kB / 1.266 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/1.043, allocations: 0.5654 MB / 1.266 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.318e-05/1.043, allocations: 75.66 kB / 1.266 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.045, allocations: 263.2 kB / 1.266 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.045, allocations: 116 kB / 1.267 GB, free: 13.13 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.0005178/1.045, allocations: 331.3 kB / 1.267 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/1.046, allocations: 158.1 kB / 1.267 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/1.049, allocations: 2.25 MB / 1.269 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.049, allocations: 15.94 kB / 1.269 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.049, allocations: 4 kB / 1.269 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.049, allocations: 7.969 kB / 1.269 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.065, allocations: 10.98 MB / 1.28 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.065, allocations: 12.22 kB / 1.28 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.067, allocations: 395.3 kB / 1.28 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-05/1.067, allocations: 16 kB / 1.28 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/1.067, allocations: 28 kB / 1.28 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/1.067, allocations: 19.94 kB / 1.28 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/1.067, allocations: 19.92 kB / 1.28 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/1.071, allocations: 2.759 MB / 1.283 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009317/1.072, allocations: 446.9 kB / 1.284 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/1.072, allocations: 43.83 kB / 1.284 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.073, allocations: 171.7 kB / 1.284 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.073, allocations: 112.1 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/1.073, allocations: 36 kB / 1.284 GB, free: 10.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001613/1.075, allocations: 1.005 MB / 1.285 GB, free: 9.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.075, allocations: 0 / 1.285 GB, free: 9.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003896/1.079, allocations: 1.137 MB / 1.286 GB, free: 8.758 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.0002923/1.079, allocations: 161.5 kB / 1.286 GB, free: 8.594 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006883/1.086, allocations: 4.293 MB / 1.29 GB, free: 4.316 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.086, allocations: 3.938 kB / 1.29 GB, free: 4.312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.088, allocations: 1.051 MB / 1.291 GB, free: 3.262 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.09, allocations: 451.1 kB / 1.292 GB, free: 2.844 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.103, allocations: 7.716 MB / 1.299 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003658/1.107, allocations: 2.95 MB / 1.302 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007667/1.108, allocations: 135.4 kB / 1.302 GB, free: 7.812 MB / 1.029 GB Notification: Performance of SimCode: time 1.443e-06/1.108, allocations: 0 / 1.302 GB, free: 7.812 MB / 1.029 GB Notification: Performance of Templates: time 0.06345/1.171, allocations: 41.15 MB / 1.343 GB, free: 14.8 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