Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.0009865/0.0009865, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000901/0.0009013, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005462, allocations: 19.11 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2571, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001082/0.2582, allocations: 402.4 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2597, allocations: 1.158 MB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.2598, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.2598, allocations: 4 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.2599, allocations: 15.86 kB / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.2605, allocations: 188 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.2607, allocations: 135.7 kB / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.2608, allocations: 4 kB / 0.7893 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.2609, allocations: 67.83 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.261, allocations: 43.86 kB / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.261, allocations: 8 kB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.2611, allocations: 27.92 kB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.2612, allocations: 11.92 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.2612, allocations: 37.7 kB / 0.7895 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2614, allocations: 108 kB / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2614, allocations: 0 / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2614, allocations: 0 / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2614, allocations: 0 / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004764/0.2619, allocations: 410.6 kB / 0.79 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2619, allocations: 8.031 kB / 0.79 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.262, allocations: 34.55 kB / 0.79 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.262, allocations: 8 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2622, allocations: 171 kB / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2622, allocations: 8 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.2622, allocations: 8 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2624, allocations: 45.67 kB / 0.7902 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2624, allocations: 4 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2624, allocations: 3.984 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2624, allocations: 4 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.2625, allocations: 15.98 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.263, allocations: 364.5 kB / 0.7906 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.2631, allocations: 30.58 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.2631, allocations: 16.94 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.2631, allocations: 0 / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.2633, allocations: 83.38 kB / 0.7907 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2633, allocations: 3.938 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002382/0.2636, allocations: 97.58 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2636, allocations: 55.41 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.2637, allocations: 129.9 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2637, allocations: 29.7 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.2638, allocations: 100.2 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.2638, allocations: 3.906 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.2639, allocations: 8 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.264, allocations: 322.8 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2641, allocations: 55.91 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2642, allocations: 104.2 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2644, allocations: 111.4 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2644, allocations: 0 / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000396/0.2648, allocations: 260.8 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.2649, allocations: 67.39 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2649, allocations: 4 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2649, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.2649, allocations: 4 kB / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2649, allocations: 8.062 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2653, allocations: 91.83 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.2654, allocations: 11.95 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001109/0.2655, allocations: 125.1 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.2655, allocations: 4 kB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.2655, allocations: 8.375 kB / 0.7923 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2655, allocations: 4 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2655, allocations: 0 / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2655, allocations: 0 / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.2657, allocations: 181.6 kB / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2657, allocations: 0 / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.2657, allocations: 0 / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2657, allocations: 480 / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2657, allocations: 4 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2657, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2657, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.2659, allocations: 120.9 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.2659, allocations: 84.95 kB / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.266, allocations: 8 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.266, allocations: 3.984 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.266, allocations: 4 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.266, allocations: 4 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.2661, allocations: 91.27 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2661, allocations: 0 / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.2663, allocations: 32 kB / 0.7928 GB, free: 5.961 MB / 0.6075 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005199/0.2669, allocations: 0.6595 MB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.2672, allocations: 254.6 kB / 0.7937 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2672, allocations: 0 / 0.7937 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.2673, allocations: 20 kB / 0.7937 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.2675, allocations: 20.23 kB / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2687, allocations: 0.6985 MB / 0.7944 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.269, allocations: 0.6848 MB / 0.795 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.269, allocations: 4 kB / 0.795 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.2691, allocations: 19.44 kB / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2691, allocations: 0 / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.2822, allocations: 2.581 MB / 0.7976 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.2824, allocations: 190.5 kB / 0.7978 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.072, allocations: 0 / 0.7978 GB, free: 0.793 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) Environment - environmentSimulation: