Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008617/0.0008617, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8794/0.8794, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_12_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_12_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9809 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.118e-05, allocations: 6.219 kB / 0.9809 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002289/0.00231, allocations: 1.451 MB / 0.9823 GB, free: 60 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0005685/0.002878, allocations: 434.9 kB / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002912, allocations: 0 / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002937, allocations: 7.938 kB / 0.9828 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.003007, allocations: 3.938 kB / 0.9828 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.00315, allocations: 27.84 kB / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.00325, allocations: 55.78 kB / 0.9828 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.003329, allocations: 8 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.003398, allocations: 35.84 kB / 0.9829 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.003455, allocations: 15.97 kB / 0.9829 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.003473, allocations: 4 kB / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.003481, allocations: 4 kB / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.003502, allocations: 7.938 kB / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.003534, allocations: 15.98 kB / 0.9829 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.003631, allocations: 43.88 kB / 0.983 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003632, allocations: 0 / 0.983 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003634, allocations: 4 kB / 0.983 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003637, allocations: 0 / 0.983 GB, free: 15.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004719/0.004109, allocations: 315.9 kB / 0.9833 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004145, allocations: 16.02 kB / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.321e-05/0.004168, allocations: 30.75 kB / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.004195, allocations: 12.89 kB / 0.9833 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.004271, allocations: 113.8 kB / 0.9834 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004281, allocations: 384 / 0.9834 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.004291, allocations: 8.375 kB / 0.9834 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.00439, allocations: 83.88 kB / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004397, allocations: 192 / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.004406, allocations: 4.125 kB / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.00441, allocations: 4 kB / 0.9835 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.004459, allocations: 45.69 kB / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.0048, allocations: 239.9 kB / 0.9838 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.004874, allocations: 72.28 kB / 0.9839 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.004907, allocations: 54.55 kB / 0.9839 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.004922, allocations: 0 / 0.9839 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.005061, allocations: 134.7 kB / 0.9841 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.005062, allocations: 3.938 kB / 0.9841 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0002138/0.005275, allocations: 198.7 kB / 0.9842 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.005314, allocations: 81.11 kB / 0.9843 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.005369, allocations: 109.8 kB / 0.9844 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.005379, allocations: 29.7 kB / 0.9845 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.005412, allocations: 84.14 kB / 0.9845 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.005428, allocations: 23.95 kB / 0.9846 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.005456, allocations: 25.72 kB / 0.9846 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.005529, allocations: 322.8 kB / 0.9849 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.005556, allocations: 37.7 kB / 0.9849 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.005595, allocations: 64.27 kB / 0.985 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.005669, allocations: 126.3 kB / 0.9851 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.00567, allocations: 0 / 0.9851 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001113/0.005782, allocations: 156.9 kB / 0.9853 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.005804, allocations: 37.77 kB / 0.9853 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.005809, allocations: 0 / 0.9853 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.00582, allocations: 4 kB / 0.9853 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.005851, allocations: 3.938 kB / 0.9853 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.005857, allocations: 4 kB / 0.9853 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.005894, allocations: 7.984 kB / 0.9853 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.0059, allocations: 4 kB / 0.9853 GB, free: 12.67 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/0.005965, allocations: 150 kB / 0.9855 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.005975, allocations: 11.89 kB / 0.9855 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.005994, allocations: 8.422 kB / 0.9855 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.005996, allocations: 4 kB / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005999, allocations: 0 / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006003, allocations: 0 / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.006259, allocations: 405.2 kB / 0.9859 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006259, allocations: 0 / 0.9859 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-06/0.006263, allocations: 3.984 kB / 0.9859 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006264, allocations: 3.938 kB / 0.9859 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.006272, allocations: 4 kB / 0.9859 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006273, allocations: 3.938 kB / 0.9859 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006275, allocations: 4.062 kB / 0.9859 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.00641, allocations: 266.8 kB / 0.9861 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.006418, allocations: 11.94 kB / 0.9862 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.006431, allocations: 4 kB / 0.9862 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.006481, allocations: 7.984 kB / 0.9862 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.006515, allocations: 8 kB / 0.9862 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.006527, allocations: 4 kB / 0.9862 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.006557, allocations: 87.27 kB / 0.9863 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006557, allocations: 0 / 0.9863 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001519/0.006709, allocations: 16 kB / 0.9863 GB, free: 11.58 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002945/0.007003, allocations: 0.8085 MB / 0.9871 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.007139, allocations: 166.7 kB / 0.9872 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00714, allocations: 0 / 0.9872 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.007199, allocations: 113 kB / 0.9873 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.007388, allocations: 11.98 kB / 0.9873 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.008266, allocations: 1.566 MB / 0.9889 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.008307, allocations: 67.62 kB / 0.9889 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.008328, allocations: 12.11 kB / 0.9889 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.008363, allocations: 20.5 kB / 0.989 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/0.008363, allocations: 7.875 kB / 0.989 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.02472, allocations: 2.616 MB / 0.9915 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.614, allocations: 12.47 kB / 0.9915 GB, free: 6.117 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable del.u in file Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.u from file Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! Error: Could not read variable del.y in file Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.y from file Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.68758356384933]