Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TriggeredTrapezoid,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_latest_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.001202/0.001202, allocations: 100 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.001042/0.001042, allocations: 177.3 kB / 15.94 MB, free: 228 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.784/1.784, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.521/3.521, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000562/0.0005622, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.084, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001009/1.085, allocations: 391.8 kB / 0.9812 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001624/1.087, allocations: 1.127 MB / 0.9823 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/1.087, allocations: 4 kB / 0.9824 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/1.087, allocations: 3.938 kB / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/1.087, allocations: 7.984 kB / 0.9824 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/1.088, allocations: 131 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/1.088, allocations: 63.92 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/1.088, allocations: 4 kB / 0.9826 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/1.088, allocations: 51.88 kB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/1.088, allocations: 43.88 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/1.088, allocations: 8 kB / 0.9827 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/1.088, allocations: 19.97 kB / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/1.088, allocations: 11.92 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/1.088, allocations: 37.7 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/1.088, allocations: 83.8 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/1.088, allocations: 0 / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/1.088, allocations: 0 / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.378e-06/1.088, allocations: 0 / 0.9828 GB, free: 4.324 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006073/1.089, allocations: 383.1 kB / 0.9832 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.089, allocations: 12.03 kB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/1.089, allocations: 38.55 kB / 0.9832 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/1.089, allocations: 4 kB / 0.9832 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/1.089, allocations: 178.9 kB / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/1.089, allocations: 4 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/1.089, allocations: 4 kB / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/1.09, allocations: 77.59 kB / 0.9835 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.09, allocations: 4 kB / 0.9835 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.09, allocations: 3.938 kB / 0.9835 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/1.09, allocations: 0 / 0.9835 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/1.09, allocations: 51.95 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/1.09, allocations: 312.9 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/1.091, allocations: 74.44 kB / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/1.091, allocations: 0 / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/1.091, allocations: 111.5 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.091, allocations: 0 / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005139/1.091, allocations: 189.5 kB / 0.9842 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.091, allocations: 55.34 kB / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/1.092, allocations: 117.8 kB / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/1.092, allocations: 29.7 kB / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/1.092, allocations: 92.23 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/1.092, allocations: 23.78 kB / 0.9845 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/1.092, allocations: 0 / 0.9845 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.092, allocations: 318.8 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/1.092, allocations: 47.97 kB / 0.9848 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/1.092, allocations: 82.52 kB / 0.9849 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/1.092, allocations: 73.69 kB / 0.985 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.092, allocations: 0 / 0.985 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004029/1.093, allocations: 207.1 kB / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/1.093, allocations: 41.77 kB / 0.9852 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.093, allocations: 4 kB / 0.9852 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.093, allocations: 0 / 0.9852 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.093, allocations: 15.92 kB / 0.9852 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.093, allocations: 4 kB / 0.9852 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.093, allocations: 48.73 kB / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/1.093, allocations: 8 kB / 0.9853 GB, free: 1.5 MB / 0.7325 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 0.0001171/1.093, allocations: 117.8 kB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/1.093, allocations: 11.86 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/1.093, allocations: 8.359 kB / 0.9854 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.093, allocations: 0 / 0.9854 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.093, allocations: 4 kB / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.093, allocations: 0 / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/1.094, allocations: 410.4 kB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.094, allocations: 3.938 kB / 0.9858 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/1.094, allocations: 11.98 kB / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.094, allocations: 0 / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.094, allocations: 0 / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.094, allocations: 0 / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.094, allocations: 3.984 kB / 0.9858 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/1.094, allocations: 247.3 kB / 0.9861 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/1.094, allocations: 81.06 kB / 0.9862 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/1.094, allocations: 7.984 kB / 0.9862 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/1.095, allocations: 8 kB / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/1.095, allocations: 3.984 kB / 0.9862 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/1.095, allocations: 8 kB / 0.9862 GB, free: 500 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.701e-05/1.095, allocations: 91.27 kB / 0.9863 GB, free: 408 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.095, allocations: 0 / 0.9863 GB, free: 408 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002774/1.095, allocations: 31.91 kB / 0.9863 GB, free: 376 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: 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.0006713/1.096, allocations: 0.7948 MB / 0.9871 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003621/1.096, allocations: 183.3 kB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.096, allocations: 0 / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/1.096, allocations: 55.92 kB / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/1.096, allocations: 12.11 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/1.097, allocations: 0.6994 MB / 0.988 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/1.097, allocations: 0.6926 MB / 0.9887 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.192e-05/1.097, allocations: 4.672 kB / 0.9887 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/1.097, allocations: 15.44 kB / 0.9887 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/1.097, allocations: 0 / 0.9887 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/1.11, allocations: 2.399 MB / 0.991 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/1.111, allocations: 206.4 kB / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.457, allocations: 0 / 0.9912 GB, free: 11.34 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat does not exist to compare? outputFormat=mat