Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_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.0007898/0.0007901, allocations: 86.48 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.0008041/0.0008041, 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 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8199, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0007719/0.8207, allocations: 381.6 kB / 0.9542 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.8219, allocations: 1.162 MB / 0.9554 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.8219, allocations: 4 kB / 0.9554 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.822, allocations: 4.906 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.822, allocations: 9.266 kB / 0.9554 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.8226, allocations: 187.3 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.8227, allocations: 136.9 kB / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.8228, allocations: 8.781 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.327e-05/0.8229, allocations: 63 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.823, allocations: 46.12 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.823, allocations: 11.92 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.8231, allocations: 25.8 kB / 0.9558 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.8231, allocations: 8.578 kB / 0.9558 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.8232, allocations: 39.73 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.8233, allocations: 107 kB / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8233, allocations: 0 / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8234, allocations: 0 / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8234, allocations: 4 kB / 0.956 GB, free: 6.414 MB / 0.7169 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.0003605/0.8237, allocations: 410.4 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8238, allocations: 9.625 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.8238, allocations: 31.97 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.8239, allocations: 14.3 kB / 0.9564 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.705e-05/0.8239, allocations: 165.8 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.824, allocations: 8.156 kB / 0.9566 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.824, allocations: 13.73 kB / 0.9566 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.8241, allocations: 42.69 kB / 0.9567 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8241, allocations: 4 kB / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.8241, allocations: 1.219 kB / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8241, allocations: 4 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.8242, allocations: 28.12 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.8246, allocations: 347.4 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.8246, allocations: 32.77 kB / 0.9571 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.8247, allocations: 18.72 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.8247, allocations: 0 / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.8248, allocations: 92.25 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.8248, allocations: 0 / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002206/0.8251, allocations: 102.4 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.8251, allocations: 53.25 kB / 0.9573 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.8252, allocations: 123.5 kB / 0.9574 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.8252, allocations: 37.42 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.8253, allocations: 92.2 kB / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.8253, allocations: 18.92 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.8253, allocations: 3.156 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.8253, allocations: 320.5 kB / 0.9579 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.8255, allocations: 54.5 kB / 0.9579 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.8256, allocations: 95.31 kB / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.8257, allocations: 113.4 kB / 0.9581 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8257, allocations: 1.125 kB / 0.9581 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003701/0.8261, allocations: 257.3 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.8262, allocations: 70.98 kB / 0.9584 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8262, allocations: 3.953 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.8262, allocations: 6.656 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-05/0.8262, allocations: 7.438 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8262, allocations: 0 / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.8266, allocations: 85.77 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.8266, allocations: 9.062 kB / 0.9586 GB, free: 3.977 MB / 0.7169 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 7.612e-05/0.8267, allocations: 123.2 kB / 0.9587 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.8267, allocations: 2.781 kB / 0.9587 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.8268, allocations: 9.656 kB / 0.9587 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8268, allocations: 3.953 kB / 0.9587 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8268, allocations: 5.438 kB / 0.9587 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8268, allocations: 3.984 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.188e-05/0.8269, allocations: 172.9 kB / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.8269, allocations: 0 / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-06/0.8269, allocations: 5.406 kB / 0.9589 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8269, allocations: 1 kB / 0.9589 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.8269, allocations: 5.562 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.8269, allocations: 1 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8269, allocations: 3.953 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.827, allocations: 107.2 kB / 0.959 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.8271, allocations: 83.3 kB / 0.9591 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.8271, allocations: 9.25 kB / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.8271, allocations: 5.234 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.8272, allocations: 6.703 kB / 0.9591 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.8272, allocations: 7.281 kB / 0.9591 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.8272, allocations: 94.33 kB / 0.9592 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8272, allocations: 0 / 0.9592 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002249/0.8274, allocations: 30.66 kB / 0.9592 GB, free: 3.32 MB / 0.7169 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.0003232/0.8278, allocations: 0.6505 MB / 0.9598 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002957/0.8281, allocations: 243.2 kB / 0.9601 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8281, allocations: 1.406 kB / 0.9601 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.8281, allocations: 27.84 kB / 0.9601 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.8284, allocations: 17.2 kB / 0.9601 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.8293, allocations: 0.7038 MB / 0.9608 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.8295, allocations: 0.6916 MB / 0.9615 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.8295, allocations: 7.906 kB / 0.9615 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.8295, allocations: 23.55 kB / 0.9615 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8295, allocations: 4 kB / 0.9615 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.8424, allocations: 2.563 MB / 0.964 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.8426, allocations: 187.2 kB / 0.9642 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.588, allocations: 4 kB / 0.9642 GB, free: 15.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat does not exist to compare? outputFormat=mat