Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008952/0.008952, allocations: 101.4 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 193.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.197/2.197, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.29/3.29, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652/1.654, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.003415/1.658, allocations: 0.7506 MB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00251/1.66, allocations: 1.147 MB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/1.66, allocations: 1.062 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/1.661, allocations: 12.48 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/1.661, allocations: 10.19 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/1.662, allocations: 133.9 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000292/1.662, allocations: 122.8 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/1.662, allocations: 16.95 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/1.662, allocations: 51.92 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/1.662, allocations: 42.27 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/1.662, allocations: 10.25 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/1.663, allocations: 32.34 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/1.663, allocations: 12.97 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/1.663, allocations: 42.72 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/1.663, allocations: 107.5 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.663, allocations: 1.125 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/1.663, allocations: 0 / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.663, allocations: 0 / 1.09 GB, free: 3.688 MB / 0.8575 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.0008184/1.664, allocations: 415.3 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/1.664, allocations: 10.33 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/1.664, allocations: 36.39 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/1.664, allocations: 7.984 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.664, allocations: 188.6 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.664, allocations: 3.406 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/1.664, allocations: 12.61 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/1.665, allocations: 58.23 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.665, allocations: 3.938 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/1.665, allocations: 5.641 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/1.665, allocations: 1.75 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/1.665, allocations: 37.67 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000783/1.666, allocations: 337.2 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/1.666, allocations: 62.67 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.666, allocations: 32.03 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/1.666, allocations: 5.094 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/1.667, allocations: 91.28 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/1.667, allocations: 0.9688 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007198/1.668, allocations: 144.1 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/1.668, allocations: 58.56 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.668, allocations: 117.4 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.668, allocations: 28.17 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/1.668, allocations: 89.89 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/1.668, allocations: 19.58 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.668, allocations: 38.56 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.668, allocations: 323.5 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/1.668, allocations: 50.19 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/1.669, allocations: 94.91 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/1.669, allocations: 150.3 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.669, allocations: 0 / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000742/1.67, allocations: 205.1 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/1.67, allocations: 38.98 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.67, allocations: 1.531 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.67, allocations: 6.25 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.67, allocations: 15.16 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.67, allocations: 6.719 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/1.671, allocations: 34.64 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/1.671, allocations: 7.516 kB / 1.093 GB, free: 1.48 MB / 0.8575 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.0001347/1.671, allocations: 128.4 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/1.671, allocations: 7.766 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/1.671, allocations: 14.91 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.671, allocations: 0.8438 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.671, allocations: 0 / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.671, allocations: 1.5 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/1.672, allocations: 374.8 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.672, allocations: 0 / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/1.672, allocations: 12.12 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.672, allocations: 5.688 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.672, allocations: 1.688 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.672, allocations: 0.875 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.672, allocations: 0 / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/1.672, allocations: 209.6 kB / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/1.672, allocations: 83.23 kB / 1.093 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/1.672, allocations: 5.891 kB / 1.093 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/1.673, allocations: 6.594 kB / 1.093 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/1.673, allocations: 14.22 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/1.673, allocations: 2.953 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.671e-05/1.673, allocations: 95.09 kB / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.673, allocations: 0 / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004877/1.673, allocations: 24.56 kB / 1.093 GB, free: 0.6484 MB / 0.8575 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.0009661/1.674, allocations: 0.7491 MB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006651/1.675, allocations: 172.1 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.675, allocations: 256 / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.675, allocations: 51.12 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/1.676, allocations: 16.8 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/1.679, allocations: 1.68 MB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/1.68, allocations: 0.6912 MB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.362e-05/1.68, allocations: 9.734 kB / 1.097 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/1.68, allocations: 25.19 kB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/1.68, allocations: 0 / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3943/2.074, allocations: 2.542 MB / 1.099 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/14.29, allocations: 5.281 kB / 1.099 GB, free: 13.24 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches