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.001618/0.001618, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.002332/0.002332, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.356/2.356, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.54/3.54, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007554/0.0007559, allocations: 19.98 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345/1.346, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001427/1.347, allocations: 391.8 kB / 0.9813 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001738/1.349, allocations: 1.123 MB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/1.349, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/1.349, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/1.349, allocations: 15.97 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/1.35, allocations: 197.3 kB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/1.35, allocations: 79.91 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/1.35, allocations: 11.97 kB / 0.9827 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/1.35, allocations: 55.91 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/1.351, allocations: 43.86 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/1.351, allocations: 8 kB / 0.9828 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/1.351, allocations: 23.92 kB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/1.351, allocations: 7.984 kB / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/1.351, allocations: 45.7 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/1.351, allocations: 105.9 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.351, allocations: 0 / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/1.351, allocations: 0 / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.351, allocations: 0 / 0.9829 GB, free: 4.184 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.0006284/1.352, allocations: 410.6 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.352, allocations: 8.031 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/1.352, allocations: 38.5 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/1.352, allocations: 8 kB / 0.9834 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/1.352, allocations: 171 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.352, allocations: 8 kB / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/1.352, allocations: 12 kB / 0.9836 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/1.352, allocations: 49.58 kB / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.352, allocations: 0 / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.352, allocations: 0 / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.352, allocations: 0 / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/1.352, allocations: 19.92 kB / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/1.353, allocations: 360.7 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.655e-05/1.353, allocations: 30.62 kB / 0.984 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.353, allocations: 11.98 kB / 0.984 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/1.353, allocations: 79.31 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/1.353, allocations: 3.984 kB / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003031/1.354, allocations: 101.6 kB / 0.9842 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.354, allocations: 55.41 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.354, allocations: 118 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/1.354, allocations: 33.69 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/1.354, allocations: 96.22 kB / 0.9845 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/1.354, allocations: 7.906 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/1.354, allocations: 4 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.354, allocations: 322.8 kB / 0.9848 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/1.354, allocations: 55.91 kB / 0.9848 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/1.355, allocations: 100.2 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/1.355, allocations: 111.4 kB / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.355, allocations: 0 / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004425/1.355, allocations: 269.2 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/1.355, allocations: 67.39 kB / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.355, allocations: 7.938 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.355, allocations: 0 / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-05/1.355, allocations: 7.938 kB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.355, allocations: 0 / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/1.356, allocations: 83.81 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/1.356, allocations: 11.98 kB / 0.9855 GB, free: 1.281 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.0001248/1.356, allocations: 119 kB / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/1.356, allocations: 11.94 kB / 0.9856 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/1.356, allocations: 12.38 kB / 0.9856 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/1.356, allocations: 4 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.356, allocations: 0 / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.356, allocations: 0 / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/1.356, allocations: 177.5 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.356, allocations: 0 / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-06/1.356, allocations: 0 / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.356, allocations: 3.953 kB / 0.9858 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.356, allocations: 8 kB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.356, allocations: 3.938 kB / 0.9858 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.356, allocations: 4 kB / 0.9858 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/1.356, allocations: 101.1 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/1.356, allocations: 85.02 kB / 0.986 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/1.357, allocations: 7.953 kB / 0.986 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/1.357, allocations: 0 / 0.986 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/1.357, allocations: 7.984 kB / 0.986 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/1.357, allocations: 4 kB / 0.986 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.093e-05/1.357, allocations: 91.27 kB / 0.9861 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.357, allocations: 4 kB / 0.9861 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002314/1.357, allocations: 28 kB / 0.9861 GB, free: 0.5234 MB / 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.0006336/1.358, allocations: 0.6525 MB / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003589/1.358, allocations: 247.3 kB / 0.987 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.358, allocations: 8.062 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/1.358, allocations: 24.28 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/1.358, allocations: 19.81 kB / 0.987 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/1.359, allocations: 0.995 MB / 0.988 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/1.359, allocations: 0.6887 MB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.039e-05/1.359, allocations: 4 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/1.359, allocations: 23.42 kB / 0.9887 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/1.36, allocations: 0 / 0.9887 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/1.374, allocations: 2.562 MB / 0.9912 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.375, allocations: 182.2 kB / 0.9914 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.856, allocations: 0 / 0.9914 GB, free: 11.07 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