Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.587/2.587, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.0016/0.001599, allocations: 182.8 kB / 370.8 MB, free: 10.86 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.2/2.2, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001152/0.001152, allocations: 84.75 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 11.69 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2265, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001339/0.2279, allocations: 470.4 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2302, allocations: 1.115 MB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.2303, allocations: 4 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.2304, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2305, allocations: 15.91 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.2314, allocations: 115 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.2315, allocations: 59.88 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2317, allocations: 11.98 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2318, allocations: 47.83 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2319, allocations: 35.89 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.232, allocations: 4 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.2321, allocations: 19.98 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.2321, allocations: 3.938 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.2322, allocations: 37.7 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.2324, allocations: 80.09 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2324, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2325, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2325, allocations: 4 kB / 0.9803 GB, free: 26.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007506/0.2332, allocations: 400.8 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2333, allocations: 12.02 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2334, allocations: 34.56 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.2335, allocations: 7.984 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2336, allocations: 178.8 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2337, allocations: 12 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.2337, allocations: 7.938 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.2341, allocations: 73.64 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2341, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.2342, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2342, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.2347, allocations: 55.95 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.2354, allocations: 332.6 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.2358, allocations: 66.62 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2358, allocations: 3.984 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.2362, allocations: 91.41 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.476e-06/0.2363, allocations: 3.938 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009971/0.2373, allocations: 157.7 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2374, allocations: 59.41 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2375, allocations: 125.7 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.2376, allocations: 29.7 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.2377, allocations: 88.12 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.2377, allocations: 15.81 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2378, allocations: 4 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.2379, allocations: 318.8 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.2383, allocations: 59.97 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.2387, allocations: 93.06 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.2391, allocations: 89.67 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2391, allocations: 0 / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001022/0.2402, allocations: 219.2 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.2403, allocations: 37.64 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2403, allocations: 4 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2403, allocations: 3.938 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.2405, allocations: 15.98 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2406, allocations: 0 / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.2412, allocations: 55.88 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.2413, allocations: 19.92 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001491/0.2415, allocations: 123.7 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.2415, allocations: 7.906 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.2416, allocations: 12.38 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2416, allocations: 0 / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2416, allocations: 64 / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2416, allocations: 7.984 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.2426, allocations: 390.4 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2426, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2428, allocations: 15.92 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2428, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2428, allocations: 4 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2428, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2428, allocations: 3.953 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.2435, allocations: 211.5 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.2436, allocations: 85.02 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.2436, allocations: 3.984 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2438, allocations: 12 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.144e-05/0.2439, allocations: 11.98 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.244, allocations: 3.953 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.2441, allocations: 91.27 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.02e-07/0.2441, allocations: 0 / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005867/0.2447, allocations: 24 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00102/0.2457, allocations: 0.7592 MB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008484/0.2466, allocations: 187.3 kB / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2466, allocations: 0 / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.2469, allocations: 48.45 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2474, allocations: 7.984 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2485, allocations: 1.003 MB / 0.9857 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2487, allocations: 0.6926 MB / 0.9864 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.079e-05/0.2488, allocations: 7.984 kB / 0.9864 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.2489, allocations: 27.38 kB / 0.9864 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/0.2489, allocations: 0 / 0.9864 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.2748, allocations: 2.193 MB / 0.9886 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.2751, allocations: 181.2 kB / 0.9888 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/2.764, allocations: 0 / 0.9888 GB, free: 17.17 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)