Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7629 GB, free: 15.05 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 67.89 kB / 1.107 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9743/0.9772, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002058/0.9792, allocations: 0.7624 MB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.9807, allocations: 1.158 MB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.9808, allocations: 1.438 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.9808, allocations: 4.547 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.9809, allocations: 11.17 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.9814, allocations: 129.3 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.9816, allocations: 122.6 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.9817, allocations: 10.25 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.9818, allocations: 47.75 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.9819, allocations: 54.08 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.982, allocations: 10.16 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.345e-05/0.982, allocations: 25.81 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.9821, allocations: 9.984 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.9821, allocations: 46.39 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.9823, allocations: 117.5 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9823, allocations: 0 / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9823, allocations: 0 / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9823, allocations: 0.875 kB / 1.274 GB, free: 6.09 MB / 0.9981 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.0005316/0.9828, allocations: 416.3 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9829, allocations: 9.75 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.9829, allocations: 33.42 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.983, allocations: 6.312 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.983, allocations: 170.9 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.9831, allocations: 7.531 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.9831, allocations: 6.719 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.9833, allocations: 62.56 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.9833, allocations: 7.938 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9833, allocations: 5.297 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9833, allocations: 4.75 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.9835, allocations: 39.53 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.9839, allocations: 333 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.9841, allocations: 65.31 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.9842, allocations: 31.8 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.9842, allocations: 5.062 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.9844, allocations: 85.22 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.9844, allocations: 4 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000447/0.9849, allocations: 149.5 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.9849, allocations: 52.59 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.985, allocations: 118.6 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.985, allocations: 28.64 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.9851, allocations: 94.16 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.9851, allocations: 15.64 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.9852, allocations: 43.12 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.9852, allocations: 322.7 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.9854, allocations: 50.55 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.9856, allocations: 86.94 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.9858, allocations: 145.3 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9858, allocations: 0.9062 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004547/0.9863, allocations: 213.7 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.9863, allocations: 41.31 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.9863, allocations: 0.875 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.9864, allocations: 2.031 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.9864, allocations: 10.38 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.9865, allocations: 6.281 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.9867, allocations: 35.27 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.9867, allocations: 10.97 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/0.9868, allocations: 127.1 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.9868, allocations: 8.609 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.9868, allocations: 13.83 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.9868, allocations: 1.641 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9868, allocations: 0.8125 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9868, allocations: 3.938 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.9873, allocations: 383.6 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9873, allocations: 0 / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.9873, allocations: 8.594 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.9873, allocations: 1 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.9874, allocations: 2.641 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.9874, allocations: 0 / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9874, allocations: 1.094 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.9876, allocations: 215.6 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.9877, allocations: 84.05 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.9877, allocations: 2.828 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.9878, allocations: 10.23 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.9878, allocations: 9.641 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.9878, allocations: 2.375 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.9879, allocations: 96.7 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9879, allocations: 3.938 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002775/0.9882, allocations: 24.62 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0005172/0.9887, allocations: 0.7517 MB / 1.278 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.9891, allocations: 161.8 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9891, allocations: 0 / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.9892, allocations: 33 kB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.9895, allocations: 20.42 kB / 1.278 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.9916, allocations: 1.714 MB / 1.28 GB, free: 16.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.9919, allocations: 0.6884 MB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.992, allocations: 4.406 kB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.992, allocations: 16.69 kB / 1.281 GB, free: 16.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.992, allocations: 1 kB / 1.281 GB, free: 16.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/1.02, allocations: 2.557 MB / 1.283 GB, free: 15.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.943, allocations: 6.562 kB / 1.283 GB, free: 15.64 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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: 14.957314500992652]