Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001315/0.001315, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001471/0.001471, allocations: 217 kB / 22.25 MB, free: 5.121 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.317/3.317, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 62.55 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3732, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001999/0.3752, allocations: 0.748 MB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3767, allocations: 1.186 MB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.3767, allocations: 0 / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.3768, allocations: 11.88 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.3768, allocations: 7.938 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.3773, allocations: 142.3 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3775, allocations: 115.8 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.3776, allocations: 8 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.143e-05/0.3777, allocations: 47.89 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3778, allocations: 51.81 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3778, allocations: 12 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.3779, allocations: 20 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.3779, allocations: 19.97 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.378, allocations: 43.84 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3781, allocations: 111.8 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3781, allocations: 0 / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3781, allocations: 0 / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3782, allocations: 0 / 1.355 GB, free: 5.926 MB / 1.045 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.0005747/0.3787, allocations: 339.8 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3788, allocations: 8.031 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.3788, allocations: 30.75 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.3788, allocations: 20.83 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.379, allocations: 118.4 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.379, allocations: 16.36 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.379, allocations: 4.375 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3792, allocations: 66.22 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3792, allocations: 3.938 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3792, allocations: 3.938 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3792, allocations: 0 / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3794, allocations: 47.95 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.3799, allocations: 307.7 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.38, allocations: 50.61 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3801, allocations: 36.95 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3801, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.3804, allocations: 91.3 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3804, allocations: 0 / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.000437/0.3808, allocations: 141.6 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3809, allocations: 55.41 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.381, allocations: 122.2 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.381, allocations: 25.7 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.381, allocations: 92.14 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3811, allocations: 19.8 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.3811, allocations: 41.69 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3813, allocations: 326.7 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3814, allocations: 51.95 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3816, allocations: 92.25 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.3819, allocations: 141.9 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3819, allocations: 0 / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004378/0.3823, allocations: 211.1 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.3824, allocations: 41.69 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3824, allocations: 128 / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3824, allocations: 8 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.3825, allocations: 11.98 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3825, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3827, allocations: 27.97 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3827, allocations: 19.92 kB / 1.358 GB, free: 3.152 MB / 1.045 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 0.0001076/0.3828, allocations: 133.6 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.3828, allocations: 7.953 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.3829, allocations: 12.38 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3829, allocations: 0 / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3829, allocations: 0 / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3829, allocations: 3.984 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.3833, allocations: 341.9 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3833, allocations: 3.938 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.3834, allocations: 11.98 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3834, allocations: 0 / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3834, allocations: 4 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3834, allocations: 8.062 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3834, allocations: 80 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3837, allocations: 211.4 kB / 1.358 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.3837, allocations: 15.89 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3837, allocations: 3.984 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.3838, allocations: 8 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3839, allocations: 11.92 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3839, allocations: 0 / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.3839, allocations: 95.42 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3839, allocations: 3.938 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002589/0.3842, allocations: 28 kB / 1.359 GB, free: 2.191 MB / 1.045 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.0006455/0.3848, allocations: 0.7397 MB / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.3852, allocations: 163.3 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3852, allocations: 4.25 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3853, allocations: 39.91 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3856, allocations: 9.5 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3877, allocations: 1.695 MB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.388, allocations: 0.6885 MB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.388, allocations: 7.984 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.3881, allocations: 23.38 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3881, allocations: 0 / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.4198, allocations: 2.697 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.46, allocations: 12.17 kB / 1.365 GB, free: 12.09 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.424348735017702]