Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002121, allocations: 294.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9054/0.9054, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 99.03 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1242, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002448/0.1267, allocations: 1.473 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006369/0.1274, allocations: 442.9 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.1274, allocations: 0.7812 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.1274, allocations: 3.938 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.1275, allocations: 4.531 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1277, allocations: 24.78 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.1277, allocations: 47.92 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1279, allocations: 25.78 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.1279, allocations: 19.88 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.128, allocations: 23.91 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.128, allocations: 9 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.128, allocations: 4 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.128, allocations: 11.92 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.1281, allocations: 23.94 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.1282, allocations: 47.73 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1282, allocations: 4 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1282, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1282, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004184/0.1286, allocations: 355.4 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1287, allocations: 12.03 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.1287, allocations: 34.75 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.1287, allocations: 8.844 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.1288, allocations: 172.3 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1288, allocations: 4.375 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1289, allocations: 8.375 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.129, allocations: 53.81 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.129, allocations: 0 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.129, allocations: 4 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.129, allocations: 0 / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.837e-05/0.1291, allocations: 35.89 kB / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1295, allocations: 300.7 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1296, allocations: 50.56 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.1297, allocations: 28.97 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1297, allocations: 4 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.1298, allocations: 71.39 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1298, allocations: 0 / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001992/0.13, allocations: 105.5 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1301, allocations: 51.41 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.1302, allocations: 109.8 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1302, allocations: 29.7 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1302, allocations: 84.14 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1302, allocations: 31.62 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1303, allocations: 33.66 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.1304, allocations: 322.8 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.1304, allocations: 16 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.927e-05/0.1305, allocations: 47.36 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.1306, allocations: 75.36 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1306, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001293/0.1307, allocations: 89.61 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1307, allocations: 4 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1307, allocations: 4 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1307, allocations: 0 / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.1308, allocations: 8 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1308, allocations: 7.938 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.1309, allocations: 15.89 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1309, allocations: 3.938 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.073e-05/0.131, allocations: 123.2 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.131, allocations: 0 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.131, allocations: 12.25 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1311, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1311, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1311, allocations: 7.969 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1314, allocations: 362.3 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1314, allocations: 0 / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.1315, allocations: 4 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1315, allocations: 8.406 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1315, allocations: 0 / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1315, allocations: 3.938 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1315, allocations: 0 / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1317, allocations: 183.4 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1317, allocations: 85.02 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1317, allocations: 8 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.1318, allocations: 15.92 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.1319, allocations: 11.98 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.1319, allocations: 0 / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.1319, allocations: 83.28 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1319, allocations: 0 / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1321, allocations: 16 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003576/0.1325, allocations: 0.7182 MB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1326, allocations: 59.91 kB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1327, allocations: 0 / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.1327, allocations: 27.92 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.133, allocations: 16.69 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.134, allocations: 1.356 MB / 0.6875 GB, free: 8.746 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.1342, allocations: 0.6897 MB / 0.6881 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.1343, allocations: 11.94 kB / 0.6882 GB, free: 8.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.1343, allocations: 23.36 kB / 0.6882 GB, free: 7.996 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1343, allocations: 0 / 0.6882 GB, free: 7.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.268/1.403, allocations: 1.75 MB / 0.6899 GB, free: 6.375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/9.885, allocations: 14.56 kB / 0.6899 GB, free: 6.363 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)