Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.001064/0.001064, allocations: 92.39 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.001327/0.001327, 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.438 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.435/2.435, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003407, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7458, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008021/0.7466, allocations: 384.2 kB / 0.9542 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.7479, allocations: 1.145 MB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.748, allocations: 1.312 kB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.748, allocations: 0 / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.7481, allocations: 9.562 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.7485, allocations: 127 kB / 0.9555 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.7487, allocations: 99.41 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.7487, allocations: 8.234 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.7488, allocations: 46.61 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.7489, allocations: 48.75 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.749, allocations: 5.562 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.749, allocations: 24.58 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.7491, allocations: 11.45 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.7491, allocations: 37.39 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.7493, allocations: 82.52 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7493, allocations: 0 / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7493, allocations: 1.125 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7493, allocations: 0 / 0.9558 GB, free: 6.574 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004888/0.7498, allocations: 397.2 kB / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7498, allocations: 9.25 kB / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.7499, allocations: 31.44 kB / 0.9562 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.7499, allocations: 9.078 kB / 0.9563 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.75, allocations: 169.4 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.75, allocations: 16.64 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.7501, allocations: 5.906 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.7503, allocations: 77.73 kB / 0.9565 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7503, allocations: 4 kB / 0.9565 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7503, allocations: 1.344 kB / 0.9565 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7503, allocations: 1.125 kB / 0.9565 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.7505, allocations: 43.52 kB / 0.9566 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.7509, allocations: 325.7 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.7511, allocations: 75.3 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.7512, allocations: 38.3 kB / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.7512, allocations: 0 / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.7514, allocations: 103.1 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.7514, allocations: 4 kB / 0.9571 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004706/0.7519, allocations: 188.9 kB / 0.9573 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.752, allocations: 56.56 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.752, allocations: 117.8 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7521, allocations: 27.7 kB / 0.9575 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.7521, allocations: 88.55 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.7521, allocations: 23.53 kB / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.7522, allocations: 1.531 kB / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.7522, allocations: 325.2 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.7523, allocations: 50.81 kB / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.7525, allocations: 68.77 kB / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.7526, allocations: 81.67 kB / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7526, allocations: 0 / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003708/0.753, allocations: 198.3 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.7531, allocations: 35.75 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7531, allocations: 5.203 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.7531, allocations: 1.031 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.7532, allocations: 27.2 kB / 0.9583 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7532, allocations: 0 / 0.9583 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.7534, allocations: 41.94 kB / 0.9584 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.7534, allocations: 9.359 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 8.181e-05/0.7535, allocations: 126.3 kB / 0.9585 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.7535, allocations: 9.703 kB / 0.9585 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.7536, allocations: 6.156 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7536, allocations: 9.672 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7536, allocations: 0 / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7536, allocations: 3.984 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.754, allocations: 409.5 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.754, allocations: 5.344 kB / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.7541, allocations: 3.844 kB / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7541, allocations: 4.953 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.7541, allocations: 4.828 kB / 0.9589 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7541, allocations: 0.9062 kB / 0.9589 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7541, allocations: 0.875 kB / 0.9589 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.7544, allocations: 245 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.7545, allocations: 78.42 kB / 0.9592 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.7545, allocations: 9.266 kB / 0.9592 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.7546, allocations: 12.05 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.7546, allocations: 7.266 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.7547, allocations: 4 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.7547, allocations: 94.67 kB / 0.9594 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7547, allocations: 0 / 0.9594 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002648/0.755, allocations: 27.25 kB / 0.9594 GB, free: 3.305 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005311/0.7555, allocations: 0.7745 MB / 0.9601 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.7559, allocations: 188.8 kB / 0.9603 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7559, allocations: 0 / 0.9603 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.756, allocations: 53.62 kB / 0.9604 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.7563, allocations: 18.34 kB / 0.9604 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.7574, allocations: 0.652 MB / 0.961 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.7575, allocations: 0.6917 MB / 0.9617 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.7575, allocations: 5.734 kB / 0.9617 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.7576, allocations: 14.19 kB / 0.9617 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7576, allocations: 0 / 0.9617 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.7699, allocations: 2.413 MB / 0.9641 GB, free: 60 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.7701, allocations: 211.1 kB / 0.9643 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.499, allocations: 0 / 0.9643 GB, free: 15.81 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat does not exist to compare? outputFormat=mat