Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002462/0.0002462, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0001893/0.0001893, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1104/0.1104, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.3034/0.3034, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.865e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.02908/0.02911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02521/0.05431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.05755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.002106/0.05966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006096/0.06576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.07107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.007609/0.07868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.08229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00717/0.08946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.09178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.09205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.09453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0008481/0.09538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001096/0.09647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.004265/0.1007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004176/0.1012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.424e-06/0.1012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.051e-05/0.1012, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.003798/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002021/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.1058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.1085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.1088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.1105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.1106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.1107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.1108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/0.1177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.1181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=60): time 6.973e-06/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=60): time 0.000708/0.1191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.1209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.1216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.1218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.1221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.134e-05/0.1221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.1227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.1232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.1232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=141) (initialization): time 0.0009401/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.083e-05/0.1243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.1249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.1256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.1257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003745/0.1261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003176/0.1264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005074/0.1269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-05/0.1269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0009034/0.1278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.1279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.1279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.1285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/0.1286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.1293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.722e-05/0.1294, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0003277/0.1297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.1299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.1309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.1309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000318/0.1312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.1336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.1336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.1348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/0.1353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/0.1359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.1365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.1366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.1367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0009804/0.1376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.766e-05/0.1377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002566/0.1403, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001273/0.1415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001119/0.1427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.976e-05/0.1427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.1503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.1508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001082/0.1518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/0.1538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 8.867e-05/0.1538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008277/0.1621, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.5167793091386557]