Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009032/0.0009032, 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.001146/0.001146, 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.9109/0.9109, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.631/1.631, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9504 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.32e-05, allocations: 5.234 kB / 0.9504 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001643/0.001656, allocations: 1.443 MB / 0.9519 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005239/0.00218, allocations: 439.4 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.002212, allocations: 0 / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.002235, allocations: 3.938 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.002306, allocations: 27.84 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.002437, allocations: 15.92 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.002537, allocations: 51.8 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.461e-05/0.002611, allocations: 3.984 kB / 0.9524 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.00268, allocations: 39.84 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.002734, allocations: 11.98 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002752, allocations: 0 / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.002761, allocations: 4 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.002783, allocations: 15.92 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.002815, allocations: 8 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.002915, allocations: 59.8 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.002917, allocations: 0 / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002918, allocations: 0 / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002922, allocations: 0 / 0.9525 GB, free: 1.434 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.0004013/0.003323, allocations: 315.9 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.003358, allocations: 8.031 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.222e-05/0.00338, allocations: 34.69 kB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.003404, allocations: 8.891 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/0.003491, allocations: 121.7 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003502, allocations: 8.375 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.00351, allocations: 4.359 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.00361, allocations: 83.88 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003617, allocations: 192 / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003626, allocations: 8.125 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.00363, allocations: 0 / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.003679, allocations: 45.69 kB / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.003964, allocations: 232 kB / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.004033, allocations: 72.2 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.004065, allocations: 58.56 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.004081, allocations: 0 / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.004206, allocations: 126.8 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 8.21e-07/0.004207, allocations: 0 / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0002223/0.00443, allocations: 202.7 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.004469, allocations: 81.11 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.004527, allocations: 118 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.004539, allocations: 33.69 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.004571, allocations: 80.14 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.004586, allocations: 15.91 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.004614, allocations: 25.7 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.004679, allocations: 322.8 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.00471, allocations: 49.69 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.00475, allocations: 72.2 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.004817, allocations: 106 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.004819, allocations: 0 / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001052/0.004924, allocations: 160.9 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.004946, allocations: 30.08 kB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.004952, allocations: 4 kB / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.004963, allocations: 4.062 kB / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.616e-05/0.004999, allocations: 15.92 kB / 0.9548 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005003, allocations: 3.938 kB / 0.9548 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.00504, allocations: 4 kB / 0.9548 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.005046, allocations: 4 kB / 0.9549 GB, free: 14.7 MB / 0.9167 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.005112, allocations: 151.5 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.00512, allocations: 11.89 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.00514, allocations: 8.438 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005141, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.005145, allocations: 8 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.005147, allocations: 0 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.0054, allocations: 396.9 kB / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005401, allocations: 0 / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-06/0.005405, allocations: 3.938 kB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.005407, allocations: 4 kB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005413, allocations: 0 / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005414, allocations: 0 / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.005415, allocations: 3.984 kB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.005544, allocations: 262.8 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.005551, allocations: 3.953 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.005564, allocations: 12 kB / 0.9557 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.005617, allocations: 7.984 kB / 0.9557 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.00565, allocations: 7.984 kB / 0.9557 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.005662, allocations: 7.984 kB / 0.9557 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.005688, allocations: 83.28 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005688, allocations: 0 / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001424/0.00583, allocations: 20 kB / 0.9558 GB, free: 13.62 MB / 0.9167 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.0003336/0.006164, allocations: 0.8041 MB / 0.9566 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.006295, allocations: 174.8 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.006297, allocations: 0 / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.006356, allocations: 113 kB / 0.9569 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.00654, allocations: 15.98 kB / 0.9569 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.007375, allocations: 1.56 MB / 0.9584 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.007414, allocations: 79.25 kB / 0.9585 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.007435, allocations: 7.781 kB / 0.9585 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.007468, allocations: 24.56 kB / 0.9585 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.007468, allocations: 0 / 0.9585 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02164, allocations: 2.621 MB / 0.9611 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/6.651, allocations: 0 / 0.9611 GB, free: 8.156 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.495971729978919]