Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.059/2.059, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009503/0.0009502, allocations: 191.1 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.0009064, allocations: 102.1 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003482, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6393, allocations: 121.3 MB / 1.041 GB, free: 58.4 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01559/0.655, allocations: 15.88 MB / 1.056 GB, free: 47.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.6654, allocations: 9.159 MB / 1.065 GB, free: 39.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.6671, allocations: 44.62 kB / 1.065 GB, free: 39.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009185/0.668, allocations: 324.1 kB / 1.066 GB, free: 39.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.6699, allocations: 0.7793 MB / 1.066 GB, free: 39.26 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.6721, allocations: 0.881 MB / 1.067 GB, free: 38.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005368/0.6774, allocations: 6.494 MB / 1.074 GB, free: 36.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.6885, allocations: 10.41 MB / 1.084 GB, free: 30.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.691, allocations: 1.323 MB / 1.085 GB, free: 30 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.6938, allocations: 1.931 MB / 1.087 GB, free: 29.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.6942, allocations: 189.8 kB / 1.087 GB, free: 29.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.6958, allocations: 0.7054 MB / 1.088 GB, free: 29.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.6971, allocations: 1.367 MB / 1.089 GB, free: 28.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.6994, allocations: 1.404 MB / 1.091 GB, free: 27.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00787/0.7073, allocations: 6.053 MB / 1.096 GB, free: 26.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.7073, allocations: 4 kB / 1.096 GB, free: 26.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7073, allocations: 4 kB / 1.096 GB, free: 26.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000148/0.7075, allocations: 0 / 1.096 GB, free: 26.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.008428/0.7159, allocations: 2.472 MB / 1.099 GB, free: 25.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.716, allocations: 9.406 kB / 1.099 GB, free: 25.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008406/0.7244, allocations: 1.138 MB / 1.1 GB, free: 24.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.7303, allocations: 1.604 MB / 1.102 GB, free: 24.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.7306, allocations: 230.9 kB / 1.102 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.732, allocations: 290.9 kB / 1.102 GB, free: 23.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.748, allocations: 5.284 MB / 1.107 GB, free: 21.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.581e-05/0.7481, allocations: 5.938 kB / 1.107 GB, free: 21.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005177/0.7486, allocations: 126.1 kB / 1.107 GB, free: 21.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003598/0.749, allocations: 202 kB / 1.108 GB, free: 21.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.7625, allocations: 4.749 MB / 1.112 GB, free: 20.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04195/0.8045, allocations: 23.21 MB / 1.135 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007739/0.8123, allocations: 3.18 MB / 1.138 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.8148, allocations: 0.9131 MB / 1.139 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.8151, allocations: 105.9 kB / 1.139 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.8152, allocations: 51.95 kB / 1.139 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.969e-06/0.8152, allocations: 0 / 1.139 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.005804/0.821, allocations: 2.083 MB / 1.141 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.8212, allocations: 219.3 kB / 1.141 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.824, allocations: 1.09 MB / 1.142 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.8241, allocations: 42.27 kB / 1.142 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.8255, allocations: 1.281 MB / 1.144 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.826, allocations: 304.9 kB / 1.144 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.8262, allocations: 28 kB / 1.144 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002984/0.8265, allocations: 412 kB / 1.144 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.8286, allocations: 0.8822 MB / 1.145 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.8312, allocations: 1.519 MB / 1.147 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/0.8356, allocations: 2.358 MB / 1.149 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.8356, allocations: 4 kB / 1.149 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006054/0.8417, allocations: 2.492 MB / 1.151 GB, free: 176 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007056/0.8424, allocations: 0.6507 MB / 1.152 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/0.8425, allocations: 20 kB / 1.152 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.966e-05/0.8426, allocations: 31.94 kB / 1.152 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.8453, allocations: 459.2 kB / 1.153 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.609e-05/0.8454, allocations: 39.86 kB / 1.153 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.848, allocations: 349.8 kB / 1.153 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.8482, allocations: 87.91 kB / 1.153 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.8482, allocations: 4 kB / 1.153 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0051/0.8534, allocations: 2.206 MB / 1.155 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/0.8534, allocations: 20 kB / 1.155 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/0.8535, allocations: 28 kB / 1.155 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.8558, allocations: 439.2 kB / 1.156 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-05/0.8559, allocations: 39.86 kB / 1.156 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.8579, allocations: 259 kB / 1.156 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.8581, allocations: 79.98 kB / 1.156 GB, free: 11.23 MB / 0.7292 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 (197): * Single equations (assignments): 197 * 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.003122/0.8612, allocations: 1.277 MB / 1.157 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.8618, allocations: 94.88 kB / 1.157 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/0.8655, allocations: 1.56 MB / 1.159 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.8656, allocations: 12 kB / 1.159 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.8656, allocations: 11.92 kB / 1.159 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.8656, allocations: 3.984 kB / 1.159 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.8787, allocations: 4.498 MB / 1.163 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.8788, allocations: 4 kB / 1.163 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.8805, allocations: 255.6 kB / 1.163 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/0.8806, allocations: 4 kB / 1.163 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.8807, allocations: 16 kB / 1.164 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/0.8807, allocations: 7.938 kB / 1.164 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8807, allocations: 0 / 1.164 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.8845, allocations: 1.915 MB / 1.165 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.8858, allocations: 367.4 kB / 1.166 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.8863, allocations: 16 kB / 1.166 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.888, allocations: 123.8 kB / 1.166 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.8882, allocations: 52.53 kB / 1.166 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.8883, allocations: 23.98 kB / 1.166 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002005/0.8904, allocations: 0.7839 MB / 1.167 GB, free: 36 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8904, allocations: 4 kB / 1.167 GB, free: 32 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006782/0.8972, allocations: 1.309 MB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.0003147/0.8975, allocations: 123.1 kB / 1.168 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007343/0.9049, allocations: 2.979 MB / 1.171 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.9049, allocations: 3.938 kB / 1.171 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.9064, allocations: 0.6593 MB / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.9094, allocations: 191.2 kB / 1.172 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.9233, allocations: 5.782 MB / 1.178 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/0.9276, allocations: 2.21 MB / 1.18 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004437/0.932, allocations: 1.097 MB / 1.181 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/0.9326, allocations: 91.41 kB / 1.181 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/0.9327, allocations: 3.938 kB / 1.181 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.04361/0.9763, allocations: 15.06 MB / 1.196 GB, free: 2.492 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)