Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",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.0009723/0.0009726, allocations: 86.88 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.001169/0.001169, 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.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004878, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7978, allocations: 146.8 MB / 0.9812 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0009749/0.7988, allocations: 471.2 kB / 0.9816 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.8001, allocations: 1.054 MB / 0.9826 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.8002, allocations: 4 kB / 0.9827 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.8002, allocations: 0 / 0.9827 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.808e-05/0.8003, allocations: 7.875 kB / 0.9827 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.8006, allocations: 42.33 kB / 0.9827 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.8007, allocations: 67.77 kB / 0.9828 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.8009, allocations: 16.17 kB / 0.9828 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.8009, allocations: 27.92 kB / 0.9828 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.801, allocations: 23.86 kB / 0.9828 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.8011, allocations: 4 kB / 0.9828 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.8011, allocations: 19.97 kB / 0.9829 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.8012, allocations: 7.984 kB / 0.9829 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.8012, allocations: 37.64 kB / 0.9829 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.8014, allocations: 51.88 kB / 0.9829 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.8014, allocations: 0 / 0.9829 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8014, allocations: 3.938 kB / 0.9829 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.8014, allocations: 0 / 0.9829 GB, free: 4.551 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000685/0.8021, allocations: 377.5 kB / 0.9833 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.8021, allocations: 8.031 kB / 0.9833 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.8022, allocations: 30.56 kB / 0.9833 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.8022, allocations: 15.83 kB / 0.9834 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8024, allocations: 171 kB / 0.9835 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.8024, allocations: 8 kB / 0.9835 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.8024, allocations: 4 kB / 0.9835 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.8028, allocations: 77.61 kB / 0.9836 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.8028, allocations: 0 / 0.9836 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.8028, allocations: 4 kB / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8028, allocations: 0 / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.803, allocations: 59.89 kB / 0.9837 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.8037, allocations: 324.7 kB / 0.984 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.8039, allocations: 62.55 kB / 0.984 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.804, allocations: 36.95 kB / 0.9841 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.804, allocations: 4.031 kB / 0.9841 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.8042, allocations: 83.38 kB / 0.9842 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.8042, allocations: 0 / 0.9842 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.8046, allocations: 145.5 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.8047, allocations: 59.39 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.8048, allocations: 117.8 kB / 0.9845 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.8048, allocations: 33.7 kB / 0.9845 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.8048, allocations: 92.03 kB / 0.9846 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.8049, allocations: 19.75 kB / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.8049, allocations: 0 / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.805, allocations: 326.8 kB / 0.9849 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.8051, allocations: 31.92 kB / 0.9849 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.8052, allocations: 77.98 kB / 0.985 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.8054, allocations: 43.92 kB / 0.9851 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8054, allocations: 4 kB / 0.9851 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002861/0.8057, allocations: 145.4 kB / 0.9852 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8057, allocations: 4.219 kB / 0.9852 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8057, allocations: 4 kB / 0.9852 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8057, allocations: 4 kB / 0.9852 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.8058, allocations: 23.97 kB / 0.9852 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8059, allocations: 4 kB / 0.9852 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.8059, allocations: 8 kB / 0.9853 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.806, allocations: 12 kB / 0.9853 GB, free: 1.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 9.289e-05/0.8061, allocations: 138.9 kB / 0.9854 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.8061, allocations: 11.84 kB / 0.9854 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.8061, allocations: 8.375 kB / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8061, allocations: 0 / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8061, allocations: 0 / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8061, allocations: 0 / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.8066, allocations: 386.4 kB / 0.9858 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8066, allocations: 4 kB / 0.9858 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.8066, allocations: 11.98 kB / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8067, allocations: 0 / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.8067, allocations: 0 / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8067, allocations: 0 / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8067, allocations: 0 / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.807, allocations: 219.3 kB / 0.986 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.807, allocations: 84.95 kB / 0.9861 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.807, allocations: 8 kB / 0.9861 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.8071, allocations: 11.98 kB / 0.9861 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.8072, allocations: 4 kB / 0.9861 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.8072, allocations: 0 / 0.9861 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.8072, allocations: 99.86 kB / 0.9862 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8072, allocations: 0 / 0.9862 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002484/0.8075, allocations: 16 kB / 0.9862 GB, free: 0.8438 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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.0005692/0.8081, allocations: 0.7475 MB / 0.987 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.8083, allocations: 95.88 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8083, allocations: 0 / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.8085, allocations: 36.47 kB / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.8087, allocations: 12.77 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.8098, allocations: 0.6016 MB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.8101, allocations: 0.6848 MB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.8101, allocations: 7.984 kB / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.8102, allocations: 19.44 kB / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8102, allocations: 0 / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.8219, allocations: 1.826 MB / 0.9902 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.8221, allocations: 232.9 kB / 0.9904 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.642, allocations: 8 kB / 0.9904 GB, free: 12.68 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat