Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.005302/0.005302, allocations: 97.56 kB / 15.73 MB, free: 6.055 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.001397/0.001397, allocations: 191.9 kB / 16.67 MB, free: 5.977 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 75.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2762, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001597/0.2778, allocations: 0.6607 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2793, allocations: 1.191 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.2794, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.2794, allocations: 3.938 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.2795, allocations: 7.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.28, allocations: 217.9 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.2803, allocations: 191.6 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.2804, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.2805, allocations: 75.88 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.2806, allocations: 59.84 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.2806, allocations: 16 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.2807, allocations: 27.98 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.2807, allocations: 11.98 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.2808, allocations: 55.83 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.281, allocations: 151.5 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.281, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.153e-06/0.281, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2811, allocations: 4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004954/0.2815, allocations: 438.7 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2816, allocations: 8.031 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.2816, allocations: 34.75 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.2817, allocations: 8.891 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2818, allocations: 176.2 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2818, allocations: 4.375 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.2819, allocations: 16.38 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.282, allocations: 42.25 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.282, allocations: 3.938 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.282, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.282, allocations: 7.984 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.282, allocations: 12 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.2825, allocations: 360.6 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.2826, allocations: 30.56 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.2826, allocations: 16.86 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.2826, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.2828, allocations: 87.39 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.866e-06/0.2828, allocations: 7.922 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002169/0.283, allocations: 101.6 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.283, allocations: 59.39 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.2831, allocations: 113.8 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.2832, allocations: 29.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.2832, allocations: 92.09 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2833, allocations: 23.88 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.2834, allocations: 49.69 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2835, allocations: 318.8 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2837, allocations: 67.89 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.2838, allocations: 88.27 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.284, allocations: 163.6 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.284, allocations: 3.938 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000399/0.2844, allocations: 252.9 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.2845, allocations: 71.39 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2845, allocations: 480 / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2845, allocations: 4.125 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.2845, allocations: 8.062 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2845, allocations: 3.938 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.2849, allocations: 59.83 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.2849, allocations: 19.92 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.000103/0.285, allocations: 125.8 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.285, allocations: 3.953 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.2851, allocations: 12.38 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2851, allocations: 0 / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2851, allocations: 0 / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2851, allocations: 3.984 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2852, allocations: 173.6 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2852, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.2852, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2853, allocations: 4 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2853, allocations: 4 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2853, allocations: 7.984 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2853, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2854, allocations: 113.2 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.2855, allocations: 81.09 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2855, allocations: 8 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.2855, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.2856, allocations: 7.984 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2856, allocations: 0 / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.2856, allocations: 91.28 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2856, allocations: 0 / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002166/0.2859, allocations: 35.98 kB / 1.226 GB, free: 7.855 MB / 0.9825 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.000449/0.2863, allocations: 0.6597 MB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2866, allocations: 250.7 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2867, allocations: 0 / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.2867, allocations: 27.97 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.2869, allocations: 28.53 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2887, allocations: 1.717 MB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.289, allocations: 0.6885 MB / 1.229 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.289, allocations: 4 kB / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.2891, allocations: 15.44 kB / 1.229 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2891, allocations: 4 kB / 1.229 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.303/1.593, allocations: 2.894 MB / 1.232 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/10.83, allocations: 6.562 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches