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 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.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.007572/0.007572, allocations: 100.7 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.001704/0.001704, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 67.88 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8266, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04129/0.868, allocations: 37.27 MB / 1.244 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02598/0.894, allocations: 13.7 MB / 1.257 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.8979, allocations: 107.7 kB / 1.258 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00663/0.9046, allocations: 2.285 MB / 1.26 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.9092, allocations: 1.435 MB / 1.261 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008995/0.9183, allocations: 3.523 MB / 1.265 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007738/0.926, allocations: 6.387 MB / 1.271 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/0.939, allocations: 9.882 MB / 1.281 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.9434, allocations: 2.766 MB / 1.283 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005177/0.9486, allocations: 3.198 MB / 1.286 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.9505, allocations: 0.625 MB / 1.287 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.9532, allocations: 1.252 MB / 1.288 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002589/0.9558, allocations: 2.48 MB / 1.291 GB, free: 8.332 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.9593, allocations: 2.549 MB / 1.293 GB, free: 5.773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009706/0.969, allocations: 9.156 MB / 1.302 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.969, allocations: 4 kB / 1.302 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.374e-06/0.969, allocations: 0 / 1.302 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002919/0.9693, allocations: 0 / 1.302 GB, free: 12.59 MB / 1.029 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.01075/0.9801, allocations: 4.306 MB / 1.306 GB, free: 8.215 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9801, allocations: 12.03 kB / 1.306 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.985, allocations: 1.034 MB / 1.307 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/0.9907, allocations: 2.23 MB / 1.309 GB, free: 4.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.991, allocations: 329 kB / 1.31 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009866/0.992, allocations: 428.2 kB / 1.31 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/1.006, allocations: 7.408 MB / 1.317 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/1.006, allocations: 15.88 kB / 1.317 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005563/1.007, allocations: 188 kB / 1.318 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003145/1.007, allocations: 286.9 kB / 1.318 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/1.018, allocations: 6.026 MB / 1.324 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03766/1.056, allocations: 32.45 MB / 1.355 GB, free: 2.695 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/1.06, allocations: 2.146 MB / 1.358 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/1.061, allocations: 1.247 MB / 1.359 GB, free: 15.25 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/1.061, allocations: 106 kB / 1.359 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.061, allocations: 43.56 kB / 1.359 GB, free: 15.09 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 2.745e-06/1.061, allocations: 0 / 1.359 GB, free: 15.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.007764/1.069, allocations: 5.274 MB / 1.364 GB, free: 9.762 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/1.069, allocations: 145.9 kB / 1.364 GB, free: 9.59 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/1.071, allocations: 1.476 MB / 1.366 GB, free: 8.102 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.071, allocations: 45.7 kB / 1.366 GB, free: 8.051 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.073, allocations: 1.855 MB / 1.368 GB, free: 6.168 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/1.073, allocations: 382.7 kB / 1.368 GB, free: 5.789 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006716/1.074, allocations: 459.1 kB / 1.368 GB, free: 5.332 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.074, allocations: 305.1 kB / 1.369 GB, free: 5.031 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.076, allocations: 1.145 MB / 1.37 GB, free: 3.875 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.078, allocations: 2.211 MB / 1.372 GB, free: 1.145 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/1.082, allocations: 3.434 MB / 1.375 GB, free: 13.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.082, allocations: 8 kB / 1.375 GB, free: 13.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005413/1.088, allocations: 3.374 MB / 1.379 GB, free: 9.844 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.088, allocations: 20.97 kB / 1.379 GB, free: 9.824 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/1.088, allocations: 32 kB / 1.379 GB, free: 9.793 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.523e-05/1.088, allocations: 52 kB / 1.379 GB, free: 9.742 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.09, allocations: 0.6316 MB / 1.379 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.552e-05/1.09, allocations: 71.72 kB / 1.379 GB, free: 9.039 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.092, allocations: 326.6 kB / 1.38 GB, free: 8.719 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/1.093, allocations: 124 kB / 1.38 GB, free: 8.598 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003624/1.096, allocations: 2.424 MB / 1.382 GB, free: 6.164 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002158/1.098, allocations: 2.047 MB / 1.384 GB, free: 3.578 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003519/1.102, allocations: 3.064 MB / 1.387 GB, free: 28 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.666e-05/1.102, allocations: 12 kB / 1.387 GB, free: 16 kB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00464/1.107, allocations: 2.972 MB / 1.39 GB, free: 13.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.107, allocations: 21.72 kB / 1.39 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/1.107, allocations: 36.84 kB / 1.39 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.023e-05/1.107, allocations: 48 kB / 1.39 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.109, allocations: 0.5654 MB / 1.391 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.628e-05/1.109, allocations: 75.66 kB / 1.391 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.111, allocations: 267 kB / 1.391 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.111, allocations: 112 kB / 1.391 GB, free: 11.92 MB / 1.123 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.0006137/1.112, allocations: 336.8 kB / 1.391 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/1.112, allocations: 154.1 kB / 1.392 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/1.115, allocations: 2.258 MB / 1.394 GB, free: 9.164 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.116, allocations: 15.94 kB / 1.394 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.116, allocations: 0 / 1.394 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.116, allocations: 7.984 kB / 1.394 GB, free: 9.141 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/1.131, allocations: 10.99 MB / 1.405 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.131, allocations: 8 kB / 1.405 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.133, allocations: 383.3 kB / 1.405 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/1.133, allocations: 16 kB / 1.405 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/1.133, allocations: 39.98 kB / 1.405 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/1.133, allocations: 19.94 kB / 1.405 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/1.133, allocations: 15.94 kB / 1.405 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/1.136, allocations: 2.756 MB / 1.408 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.137, allocations: 458.8 kB / 1.408 GB, free: 10.03 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.138, allocations: 39.89 kB / 1.408 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.139, allocations: 175.7 kB / 1.408 GB, free: 9.82 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.139, allocations: 96.17 kB / 1.408 GB, free: 9.727 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/1.139, allocations: 43.98 kB / 1.408 GB, free: 9.684 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001703/1.141, allocations: 1.013 MB / 1.409 GB, free: 8.672 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.141, allocations: 4 kB / 1.409 GB, free: 8.668 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003913/1.145, allocations: 1.133 MB / 1.411 GB, free: 7.535 MB / 1.139 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.0002682/1.145, allocations: 150.9 kB / 1.411 GB, free: 7.379 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006277/1.151, allocations: 4.071 MB / 1.415 GB, free: 3.328 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.152, allocations: 0 / 1.415 GB, free: 3.328 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.153, allocations: 1.059 MB / 1.416 GB, free: 2.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.155, allocations: 453.5 kB / 1.416 GB, free: 1.852 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.166, allocations: 6.981 MB / 1.423 GB, free: 10.68 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002965/1.169, allocations: 2.868 MB / 1.426 GB, free: 7.773 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002799/1.172, allocations: 1.227 MB / 1.427 GB, free: 6.539 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/1.173, allocations: 119.4 kB / 1.427 GB, free: 6.422 MB / 1.154 GB Notification: Performance of SimCode: time 7.11e-07/1.173, allocations: 7.938 kB / 1.427 GB, free: 6.414 MB / 1.154 GB Notification: Performance of Templates: time 0.04176/1.214, allocations: 26.03 MB / 1.453 GB, free: 12.6 MB / 1.186 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=480 -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/jenkins/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