Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_10_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.004004/0.004004, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.001107/0.001108, allocations: 191.8 kB / 16.67 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 68.12 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2581, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001571/0.2597, allocations: 0.7533 MB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.261, allocations: 1.155 MB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.261, allocations: 4 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.2611, allocations: 7.938 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.2611, allocations: 3.938 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.2616, allocations: 135.1 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2617, allocations: 127.7 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.2618, allocations: 23.91 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.2619, allocations: 47.84 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.262, allocations: 39.88 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.262, allocations: 12 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.2621, allocations: 23.98 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.2621, allocations: 15.92 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.2622, allocations: 47.83 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2624, allocations: 108 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.2624, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.786e-06/0.2624, allocations: 4 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2624, allocations: 3.938 kB / 1.169 GB, free: 4.723 MB / 0.92 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.0005327/0.2629, allocations: 412.9 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.263, allocations: 8.031 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.263, allocations: 34.73 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.263, allocations: 12.89 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2632, allocations: 172.3 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2632, allocations: 4.375 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2632, allocations: 12.38 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2634, allocations: 66.22 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2634, allocations: 3.938 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2634, allocations: 0 / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2634, allocations: 0 / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2636, allocations: 39.95 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.264, allocations: 344.5 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2642, allocations: 58.61 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2643, allocations: 32.97 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.2643, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.2646, allocations: 95.3 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2646, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004014/0.265, allocations: 133.6 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.265, allocations: 63.45 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.2651, allocations: 117.8 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.2652, allocations: 29.7 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.2652, allocations: 96.12 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2652, allocations: 15.86 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.2653, allocations: 37.7 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2655, allocations: 322.8 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.2656, allocations: 59.84 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2658, allocations: 88.25 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.2661, allocations: 149.8 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2661, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004212/0.2665, allocations: 203.1 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.2666, allocations: 37.7 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2666, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2666, allocations: 4 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.2667, allocations: 12.11 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2667, allocations: 4 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2669, allocations: 35.89 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2669, allocations: 12 kB / 1.171 GB, free: 1.77 MB / 0.92 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 9.665e-05/0.267, allocations: 125.7 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.267, allocations: 7.953 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.2671, allocations: 12.36 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2671, allocations: 4 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2671, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2671, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.2675, allocations: 382.8 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2676, allocations: 0 / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.2676, allocations: 7.938 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2676, allocations: 0 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2676, allocations: 11.98 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2676, allocations: 0 / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2677, allocations: 80 / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.268, allocations: 215.4 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.268, allocations: 89.05 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.268, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.2681, allocations: 11.98 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.2682, allocations: 11.94 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2682, allocations: 3.984 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.2682, allocations: 95.22 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2682, allocations: 0 / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002446/0.2685, allocations: 31.92 kB / 1.172 GB, free: 0.6797 MB / 0.92 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.0006246/0.2691, allocations: 0.7406 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.2695, allocations: 179.3 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2695, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2696, allocations: 44.14 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.2699, allocations: 23.86 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2718, allocations: 1.679 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2721, allocations: 0.6924 MB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.2721, allocations: 4 kB / 1.175 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.2722, allocations: 23.42 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 1.934e-06/0.2722, allocations: 4 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/1.497, allocations: 2.555 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.676/11.17, allocations: 6.234 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches