Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001768/0.001768, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002297/0.002297, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.157/3.157, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_12_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.002088/0.002088, allocations: 70.39 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001995/0.349, allocations: 0.7277 MB / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3506, allocations: 1.174 MB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.3507, allocations: 0 / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.3507, allocations: 7.922 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.3508, allocations: 15.88 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.3513, allocations: 138.8 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3514, allocations: 111.8 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.3515, allocations: 8 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3516, allocations: 51.89 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.3517, allocations: 39.83 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3518, allocations: 12 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.3518, allocations: 19.98 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3519, allocations: 11.97 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3519, allocations: 43.86 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3521, allocations: 123.8 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3521, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3521, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3521, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 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.0005729/0.3527, allocations: 331.8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3528, allocations: 12.03 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.3528, allocations: 34.75 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.3528, allocations: 12.89 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3529, allocations: 114.4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.353, allocations: 4.375 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.353, allocations: 16.36 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3532, allocations: 62.22 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3532, allocations: 7.875 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3532, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3532, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3534, allocations: 39.95 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.3539, allocations: 283.9 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3541, allocations: 54.55 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3542, allocations: 32.97 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3542, allocations: 3.984 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.3545, allocations: 83.33 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3545, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004575/0.3549, allocations: 149.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.355, allocations: 59.41 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3551, allocations: 121.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3551, allocations: 33.64 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3552, allocations: 96.06 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3552, allocations: 19.84 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.756e-05/0.3553, allocations: 37.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3555, allocations: 322.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3557, allocations: 89.66 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3559, allocations: 117.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.3562, allocations: 137.9 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3562, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004917/0.3567, allocations: 252.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3567, allocations: 33.7 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3567, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3567, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.3568, allocations: 15.98 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3568, allocations: 3.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.357, allocations: 40.03 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.3571, allocations: 8 kB / 1.33 GB, free: 13.04 MB / 1.029 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.0001216/0.3572, allocations: 126.3 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.3572, allocations: 11.94 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.3572, allocations: 4.375 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3572, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3572, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3572, allocations: 4 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.3577, allocations: 341.5 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3577, allocations: 8.047 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.3578, allocations: 11.98 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3578, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3578, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3578, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3578, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.3582, allocations: 219.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.3582, allocations: 11.89 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.3582, allocations: 11.94 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.3583, allocations: 7.984 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3583, allocations: 3.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3583, allocations: 7.984 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.3584, allocations: 91.28 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3584, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002616/0.3587, allocations: 23.98 kB / 1.331 GB, free: 12.09 MB / 1.029 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.0007208/0.3594, allocations: 0.7475 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.3598, allocations: 192.9 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3598, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3599, allocations: 35.97 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3602, allocations: 20.17 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3624, allocations: 1.805 MB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.992e-05/0.3625, allocations: 71.34 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3626, allocations: 11.98 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.3626, allocations: 19.44 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3626, allocations: 0 / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.4008, allocations: 3.229 MB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 8.109 kB / 1.337 GB, free: 5.906 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.649323931895196]