Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.737/2.737, allocations: 287.5 MB / 302.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 186 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009897/0.0009892, allocations: 90.5 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.0005219, allocations: 13.19 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.232, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001239/0.2333, allocations: 0.5766 MB / 0.979 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.235, allocations: 1.15 MB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.2352, allocations: 0 / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.2352, allocations: 7.922 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.2353, allocations: 11.86 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.2359, allocations: 142.5 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2361, allocations: 143.6 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2363, allocations: 25.09 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2364, allocations: 51.84 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.2365, allocations: 55.73 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.2366, allocations: 12 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.2367, allocations: 19.98 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.2367, allocations: 15.92 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.2368, allocations: 45.64 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2369, allocations: 115.9 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2369, allocations: 4 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.237, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.237, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006705/0.2377, allocations: 436.7 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2377, allocations: 12.02 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.2378, allocations: 42.55 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.2378, allocations: 15.84 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007573/0.2386, allocations: 264.9 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.2386, allocations: 12 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.2387, allocations: 12 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.239, allocations: 95.69 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.239, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2391, allocations: 4 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2391, allocations: 4 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2394, allocations: 55.95 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.2403, allocations: 392.4 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.2405, allocations: 42.52 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2406, allocations: 32.95 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2407, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.241, allocations: 107.3 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.241, allocations: 0 / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006583/0.2417, allocations: 141.5 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.2417, allocations: 59.34 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2419, allocations: 145.7 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2419, allocations: 29.7 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.242, allocations: 108.1 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.242, allocations: 27.61 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.2421, allocations: 8 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.2421, allocations: 326.8 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.2424, allocations: 51.97 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.2427, allocations: 131.1 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.243, allocations: 93.61 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.243, allocations: 4 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000705/0.2437, allocations: 250.9 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.2437, allocations: 38.06 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2438, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2438, allocations: 8 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.244, allocations: 28.36 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.244, allocations: 7.875 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.2444, allocations: 59.8 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2445, allocations: 8 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.2446, allocations: 133.8 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2446, allocations: 11.91 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.2447, allocations: 12.75 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2447, allocations: 4 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2447, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2447, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/0.2456, allocations: 422.2 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2456, allocations: 0 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.2458, allocations: 19.98 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.2458, allocations: 0 / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2458, allocations: 0 / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2458, allocations: 0 / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2458, allocations: 8 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.2465, allocations: 251.3 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2465, allocations: 89.02 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.2465, allocations: 4 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2467, allocations: 8.031 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.2468, allocations: 11.92 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.2468, allocations: 8 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.2469, allocations: 105 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2469, allocations: 0 / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004038/0.2473, allocations: 31.89 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008629/0.2482, allocations: 0.8075 MB / 0.9856 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.2488, allocations: 183.9 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2488, allocations: 128 / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.249, allocations: 51.91 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.2495, allocations: 15.98 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.2515, allocations: 0.8934 MB / 0.9867 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.2517, allocations: 0.7122 MB / 0.9874 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000115/0.2518, allocations: 12.64 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.2519, allocations: 35.44 kB / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of SimCode: time 9.41e-07/0.2519, allocations: 0 / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.28, allocations: 2.811 MB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.2804, allocations: 206.3 kB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/2.949, allocations: 0 / 0.9904 GB, free: 15.65 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)