Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_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.001032/0.001032, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001097/0.001097, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.577/2.577, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.8129, allocations: 146.8 MB / 0.9812 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008461/0.8138, allocations: 387.8 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.8153, allocations: 1.17 MB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.8153, allocations: 0 / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.8154, allocations: 0 / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.8154, allocations: 11.86 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.8161, allocations: 181.1 kB / 0.9828 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.8162, allocations: 143.7 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.8163, allocations: 11.98 kB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.8164, allocations: 51.89 kB / 0.983 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.8165, allocations: 47.88 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.8166, allocations: 8 kB / 0.9831 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.8166, allocations: 23.98 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.8167, allocations: 11.92 kB / 0.9831 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.8167, allocations: 37.7 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.8169, allocations: 106 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.8169, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8169, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8169, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 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.0004598/0.8174, allocations: 410.6 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8174, allocations: 12.03 kB / 0.9837 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.8175, allocations: 38.5 kB / 0.9837 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.8175, allocations: 8 kB / 0.9837 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.8177, allocations: 174.9 kB / 0.9839 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.8177, allocations: 4 kB / 0.9839 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.8177, allocations: 16 kB / 0.9839 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.8179, allocations: 49.64 kB / 0.984 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8179, allocations: 0 / 0.984 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.8179, allocations: 0 / 0.984 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8179, allocations: 0 / 0.984 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.8179, allocations: 15.98 kB / 0.984 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.8184, allocations: 356.7 kB / 0.9843 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.044e-05/0.8185, allocations: 38.62 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.8185, allocations: 20.83 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.8186, allocations: 0 / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.8187, allocations: 83.31 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.8187, allocations: 3.938 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002274/0.819, allocations: 105.6 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.819, allocations: 55.41 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.8191, allocations: 118 kB / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.8192, allocations: 33.7 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.8192, allocations: 88.23 kB / 0.9848 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.8193, allocations: 15.89 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.8193, allocations: 4 kB / 0.9848 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8194, allocations: 314.8 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.8195, allocations: 59.97 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.8197, allocations: 103.3 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.8198, allocations: 111.8 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8198, allocations: 0 / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004036/0.8203, allocations: 268.8 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.8203, allocations: 71.52 kB / 0.9857 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.8203, allocations: 4 kB / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.8204, allocations: 4 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-05/0.8204, allocations: 0 / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8204, allocations: 7.938 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.8208, allocations: 85.03 kB / 0.9858 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.8208, allocations: 15.98 kB / 0.9858 GB, free: 1.121 MB / 0.7325 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.0001547/0.821, allocations: 117.8 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.821, allocations: 7.953 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.821, allocations: 8.375 kB / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.821, allocations: 0 / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.821, allocations: 0 / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.821, allocations: 0 / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.8212, allocations: 185.5 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8212, allocations: 0 / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.8212, allocations: 4 kB / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8212, allocations: 3.953 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.8212, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8212, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8212, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.8214, allocations: 113 kB / 0.9863 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.8215, allocations: 92.94 kB / 0.9864 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.8215, allocations: 3.953 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.8215, allocations: 0 / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.8215, allocations: 11.98 kB / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.8216, allocations: 4 kB / 0.9864 GB, free: 492 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.8216, allocations: 87.22 kB / 0.9865 GB, free: 404 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8216, allocations: 4 kB / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002932/0.8219, allocations: 31.98 kB / 0.9865 GB, free: 368 kB / 0.7325 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.0004636/0.8224, allocations: 0.6514 MB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.8227, allocations: 238.7 kB / 0.9874 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8228, allocations: 4.25 kB / 0.9874 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.8228, allocations: 27.98 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.8231, allocations: 22.05 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.8243, allocations: 0.6983 MB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.8246, allocations: 0.6848 MB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.8246, allocations: 8 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.8247, allocations: 19.42 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.8247, allocations: 0 / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.8388, allocations: 2.59 MB / 0.9913 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.839, allocations: 199.3 kB / 0.9915 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.626, allocations: 1.688 kB / 0.9915 GB, free: 11.19 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat does not exist to compare? outputFormat=mat