Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.001757/0.001757, allocations: 195.6 kB / 17.3 MB, free: 5.52 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 67.73 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3604, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02381/0.3843, allocations: 20.43 MB / 1.047 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.3975, allocations: 7.541 MB / 1.054 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/0.4011, allocations: 59.81 kB / 1.054 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.4056, allocations: 1.352 MB / 1.055 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.4088, allocations: 0.9762 MB / 1.056 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005598/0.4144, allocations: 2.006 MB / 1.058 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005769/0.4202, allocations: 4.32 MB / 1.063 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007804/0.4281, allocations: 6.164 MB / 1.069 GB, free: 7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.4311, allocations: 1.835 MB / 1.07 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.435, allocations: 2.212 MB / 1.073 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.436, allocations: 428 kB / 1.073 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.4381, allocations: 0.9167 MB / 1.074 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.5742/1.012, allocations: 1.642 MB / 1.075 GB, free: 26.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005253/1.018, allocations: 1.709 MB / 1.077 GB, free: 25.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01182/1.03, allocations: 6.167 MB / 1.083 GB, free: 25.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.03, allocations: 0 / 1.083 GB, free: 25.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/1.03, allocations: 1.094 kB / 1.083 GB, free: 25.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002275/1.03, allocations: 1.219 kB / 1.083 GB, free: 25.57 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01192/1.042, allocations: 3.044 MB / 1.086 GB, free: 24.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.042, allocations: 11.36 kB / 1.086 GB, free: 24.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/1.046, allocations: 0.6831 MB / 1.087 GB, free: 24.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/1.051, allocations: 1.568 MB / 1.088 GB, free: 23.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/1.051, allocations: 215 kB / 1.089 GB, free: 23.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/1.052, allocations: 285.1 kB / 1.089 GB, free: 23.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/1.065, allocations: 5.049 MB / 1.094 GB, free: 23.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.065, allocations: 10.69 kB / 1.094 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004272/1.066, allocations: 121.3 kB / 1.094 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003589/1.066, allocations: 208.7 kB / 1.094 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009976/1.076, allocations: 4.173 MB / 1.098 GB, free: 22.56 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/1.107, allocations: 22.87 MB / 1.12 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/1.111, allocations: 1.716 MB / 1.122 GB, free: 4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/1.113, allocations: 1.133 MB / 1.123 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/1.113, allocations: 95.59 kB / 1.123 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.113, allocations: 49.77 kB / 1.123 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/1.113, allocations: 0 / 1.123 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87): time 0.007019/1.12, allocations: 3.987 MB / 1.127 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/1.12, allocations: 138.4 kB / 1.127 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.122, allocations: 0.8501 MB / 1.128 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.122, allocations: 41.7 kB / 1.128 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007449/1.123, allocations: 1.17 MB / 1.129 GB, free: 16 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/1.123, allocations: 312.5 kB / 1.13 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005979/1.124, allocations: 273 kB / 1.13 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002514/1.124, allocations: 405.4 kB / 1.13 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.125, allocations: 0.8021 MB / 1.131 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/1.127, allocations: 1.29 MB / 1.132 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/1.13, allocations: 2.143 MB / 1.134 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.13, allocations: 4.719 kB / 1.134 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004009/1.134, allocations: 2.166 MB / 1.137 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.135, allocations: 16.03 kB / 1.137 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.135, allocations: 16.59 kB / 1.137 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/1.135, allocations: 20.94 kB / 1.137 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/1.136, allocations: 404.9 kB / 1.137 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.205e-05/1.136, allocations: 32.3 kB / 1.137 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.138, allocations: 198.1 kB / 1.137 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/1.138, allocations: 61.8 kB / 1.137 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003568/1.141, allocations: 1.66 MB / 1.139 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0015/1.143, allocations: 1.168 MB / 1.14 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002633/1.146, allocations: 1.871 MB / 1.142 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.017e-05/1.146, allocations: 4.625 kB / 1.142 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003187/1.149, allocations: 1.889 MB / 1.144 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.149, allocations: 11.97 kB / 1.144 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.149, allocations: 18.67 kB / 1.144 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/1.149, allocations: 22.38 kB / 1.144 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.15, allocations: 353.2 kB / 1.144 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.301e-05/1.15, allocations: 36.48 kB / 1.144 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.152, allocations: 164.2 kB / 1.144 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.152, allocations: 62.88 kB / 1.144 GB, free: 7.457 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0005172/1.152, allocations: 270.8 kB / 1.145 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/1.152, allocations: 99.31 kB / 1.145 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/1.155, allocations: 1.839 MB / 1.147 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.155, allocations: 10.56 kB / 1.147 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.156, allocations: 1.312 kB / 1.147 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.156, allocations: 5.328 kB / 1.147 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.17, allocations: 9.582 MB / 1.156 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.17, allocations: 11.62 kB / 1.156 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.171, allocations: 317.8 kB / 1.156 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/1.171, allocations: 19.66 kB / 1.156 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/1.171, allocations: 27.55 kB / 1.156 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/1.171, allocations: 20.09 kB / 1.156 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.629e-05/1.171, allocations: 20.22 kB / 1.156 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.174, allocations: 2.406 MB / 1.159 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/1.175, allocations: 371.8 kB / 1.159 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.175, allocations: 30.28 kB / 1.159 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/1.176, allocations: 134.9 kB / 1.159 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.176, allocations: 93.92 kB / 1.159 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/1.176, allocations: 33.97 kB / 1.159 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007739/1.177, allocations: 0.5938 MB / 1.16 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.177, allocations: 0 / 1.16 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00258/1.179, allocations: 0.752 MB / 1.161 GB, free: 13.8 MB / 0.8731 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 (90): * Single equations (assignments): 90 * 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.0002574/1.18, allocations: 151.6 kB / 1.161 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003879/1.184, allocations: 2.861 MB / 1.164 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.184, allocations: 0 / 1.164 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.185, allocations: 0.9087 MB / 1.164 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.187, allocations: 300.2 kB / 1.165 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008422/1.195, allocations: 4.988 MB / 1.17 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/1.197, allocations: 2.124 MB / 1.172 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002007/1.199, allocations: 0.7423 MB / 1.172 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.2, allocations: 79.42 kB / 1.172 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/1.2, allocations: 4 kB / 1.172 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of Templates: time 0.03193/1.232, allocations: 17.36 MB / 1.189 GB, free: 2.984 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches