Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_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.006622/0.006622, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001293/0.001293, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 60.94 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3193, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00212/0.3215, allocations: 0.6516 MB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3232, allocations: 1.188 MB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.3233, allocations: 4 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.3234, allocations: 7.938 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.3235, allocations: 7.922 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007385/0.3242, allocations: 215.8 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.3246, allocations: 183.6 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3247, allocations: 12 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3249, allocations: 71.88 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3251, allocations: 59.84 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.3251, allocations: 16 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3252, allocations: 27.98 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.3252, allocations: 7.984 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.3253, allocations: 63.81 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3256, allocations: 142.4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3256, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3256, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3256, allocations: 0 / 1.09 GB, free: 15.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006/0.3262, allocations: 435.6 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3263, allocations: 15.97 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.3263, allocations: 34.75 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.3264, allocations: 12.84 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.3266, allocations: 164.4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3266, allocations: 8.359 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3266, allocations: 12.38 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3268, allocations: 46.25 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3268, allocations: 3.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3268, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3268, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.3269, allocations: 19.92 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.3274, allocations: 360.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.3275, allocations: 26.58 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.3276, allocations: 20.94 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3276, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.3278, allocations: 87.31 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3278, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002748/0.3281, allocations: 105.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3281, allocations: 55.39 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3282, allocations: 117.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3283, allocations: 33.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.3284, allocations: 96.05 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3284, allocations: 7.906 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3285, allocations: 61.61 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3286, allocations: 319.2 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3288, allocations: 63.91 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3289, allocations: 99.31 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.3291, allocations: 159.6 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3291, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004271/0.3296, allocations: 256.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.3296, allocations: 71.39 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3297, allocations: 4.125 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3297, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.3297, allocations: 11.92 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3297, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.3301, allocations: 55.78 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3301, allocations: 19.98 kB / 1.093 GB, free: 12.27 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: 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.000113/0.3303, allocations: 125.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.3303, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3303, allocations: 12.36 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3303, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3303, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3303, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3305, allocations: 181.6 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3305, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.3305, allocations: 4 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3305, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3305, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3305, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3305, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3307, allocations: 113 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.3307, allocations: 85.02 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3308, allocations: 3.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.3308, allocations: 4.094 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.3309, allocations: 8 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3309, allocations: 11.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.3309, allocations: 87.28 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3309, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002431/0.3312, allocations: 32 kB / 1.093 GB, free: 11.5 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 ($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.0004853/0.3317, allocations: 0.6591 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.3321, allocations: 254.6 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3321, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.3321, allocations: 23.98 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.3324, allocations: 17.55 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.3345, allocations: 1.704 MB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.3347, allocations: 0.6846 MB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.3348, allocations: 7.984 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.3348, allocations: 19.44 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3348, allocations: 0.5625 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3585, allocations: 2.887 MB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.183, allocations: 7.734 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches