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.001228/0.001228, allocations: 99.86 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.001735/0.001735, 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 2.043/2.043, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.22/4.22, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005599/0.0005602, allocations: 12 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.174, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001222/1.176, allocations: 475.4 kB / 0.9813 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001859/1.177, allocations: 1.043 MB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/1.178, allocations: 7.938 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/1.178, allocations: 0 / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/1.178, allocations: 11.92 kB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/1.178, allocations: 43.89 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/1.178, allocations: 39.89 kB / 0.9825 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/1.178, allocations: 20.16 kB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/1.178, allocations: 19.92 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/1.178, allocations: 31.91 kB / 0.9825 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/1.178, allocations: 0 / 0.9825 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/1.179, allocations: 15.98 kB / 0.9825 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/1.179, allocations: 11.92 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/1.179, allocations: 37.69 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/1.179, allocations: 47.89 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.179, allocations: 3.938 kB / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.359e-06/1.179, allocations: 7.938 kB / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.179, allocations: 0 / 0.9827 GB, free: 4.461 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.0007023/1.18, allocations: 377.3 kB / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.18, allocations: 8.031 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/1.18, allocations: 34.56 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/1.18, allocations: 7.906 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.18, allocations: 174.9 kB / 0.9832 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.18, allocations: 7.984 kB / 0.9832 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/1.18, allocations: 4 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/1.18, allocations: 77.56 kB / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.18, allocations: 3.984 kB / 0.9833 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.18, allocations: 0 / 0.9833 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.18, allocations: 4 kB / 0.9833 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/1.181, allocations: 51.95 kB / 0.9834 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/1.182, allocations: 336.6 kB / 0.9837 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/1.182, allocations: 66.55 kB / 0.9838 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/1.182, allocations: 0 / 0.9838 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/1.182, allocations: 79.5 kB / 0.9838 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/1.182, allocations: 0 / 0.9838 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006972/1.183, allocations: 149.5 kB / 0.984 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/1.183, allocations: 55.41 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/1.183, allocations: 125.8 kB / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.183, allocations: 25.7 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/1.183, allocations: 96.03 kB / 0.9843 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/1.183, allocations: 15.81 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/1.183, allocations: 0 / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.184, allocations: 318.8 kB / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.184, allocations: 35.92 kB / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/1.184, allocations: 81.98 kB / 0.9847 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/1.184, allocations: 47.91 kB / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/1.184, allocations: 3.953 kB / 0.9847 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005044/1.185, allocations: 137.4 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.185, allocations: 8 kB / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.185, allocations: 0 / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.185, allocations: 8 kB / 0.9849 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/1.185, allocations: 23.91 kB / 0.9849 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.185, allocations: 4.531 kB / 0.9849 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/1.185, allocations: 19.94 kB / 0.9849 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/1.185, allocations: 11.92 kB / 0.9849 GB, free: 1.863 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 0.0001408/1.186, allocations: 113.8 kB / 0.9851 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/1.186, allocations: 11.86 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/1.186, allocations: 12.38 kB / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.186, allocations: 0 / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.186, allocations: 0 / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.186, allocations: 4 kB / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/1.186, allocations: 386.4 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.186, allocations: 0 / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/1.187, allocations: 15.98 kB / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.187, allocations: 0 / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.187, allocations: 4 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.187, allocations: 4 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.187, allocations: 0 / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/1.187, allocations: 219.3 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/1.187, allocations: 85.02 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/1.187, allocations: 0 / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/1.187, allocations: 11.98 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/1.187, allocations: 0 / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.188, allocations: 8 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001145/1.188, allocations: 95.2 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.188, allocations: 4 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004877/1.188, allocations: 12 kB / 0.9859 GB, free: 0.793 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.00103/1.189, allocations: 0.7605 MB / 0.9866 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005035/1.19, allocations: 80.2 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.19, allocations: 4.125 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/1.19, allocations: 47.91 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/1.19, allocations: 4 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/1.192, allocations: 1.3 MB / 0.988 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/1.192, allocations: 0.6926 MB / 0.9887 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.728e-05/1.192, allocations: 8 kB / 0.9887 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/1.192, allocations: 23.42 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.192, allocations: 0 / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/1.208, allocations: 1.798 MB / 0.9905 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.208, allocations: 222 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.375, allocations: 1.547 kB / 0.9907 GB, free: 11.93 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