Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Nor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_10_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.008593/0.008593, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001762/0.001762, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.715/2.715, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 68.14 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002737/0.3311, allocations: 0.6605 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3329, allocations: 1.195 MB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3331, allocations: 0 / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.3332, allocations: 7.922 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3334, allocations: 11.92 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3345, allocations: 210.8 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.3348, allocations: 195.7 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.335, allocations: 7.984 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3351, allocations: 67.89 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3353, allocations: 59.84 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.3353, allocations: 16 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3354, allocations: 31.92 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.3355, allocations: 11.98 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.3355, allocations: 55.83 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3358, allocations: 155.9 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3358, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3358, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3358, allocations: 0 / 1.169 GB, free: 4.594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005502/0.3364, allocations: 434.7 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3364, allocations: 8.031 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.3365, allocations: 42.67 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.3366, allocations: 8.891 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3367, allocations: 176.2 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3367, allocations: 12.38 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.3367, allocations: 8.375 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3369, allocations: 50.23 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3369, allocations: 3.938 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3369, allocations: 0 / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3369, allocations: 3.938 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.337, allocations: 19.92 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.3374, allocations: 356.7 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.3375, allocations: 30.58 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.3375, allocations: 20.94 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.3376, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.3377, allocations: 83.31 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.3377, allocations: 3.984 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002449/0.338, allocations: 101.6 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.338, allocations: 63.41 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.3381, allocations: 117.8 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3382, allocations: 29.7 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.3382, allocations: 92.09 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3383, allocations: 15.84 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.3383, allocations: 57.69 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.3384, allocations: 318.8 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.3386, allocations: 63.91 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3387, allocations: 92.25 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3389, allocations: 164 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3389, allocations: 4 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003957/0.3393, allocations: 252.9 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.3394, allocations: 67.39 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3394, allocations: 4 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3394, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.3395, allocations: 4 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3395, allocations: 7.922 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.3398, allocations: 60.02 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3398, allocations: 8 kB / 1.171 GB, free: 1.551 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: 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 9.58e-05/0.3399, allocations: 129.8 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.34, allocations: 3.953 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.34, allocations: 12.38 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.34, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.34, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.34, allocations: 4 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.3402, allocations: 181.6 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3402, allocations: 3.938 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.657e-06/0.3402, allocations: 0 / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3402, allocations: 4 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3402, allocations: 4 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3402, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3402, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3404, allocations: 112.9 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.3404, allocations: 89.05 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3404, allocations: 4 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.3405, allocations: 3.984 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.3405, allocations: 4 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3405, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.3406, allocations: 95.2 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3406, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002323/0.3408, allocations: 32 kB / 1.172 GB, free: 0.7812 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 ($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.0004347/0.3413, allocations: 0.6592 MB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.3416, allocations: 242.8 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3417, allocations: 4 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.3417, allocations: 24 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3419, allocations: 22.08 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3437, allocations: 1.717 MB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.344, allocations: 0.6846 MB / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.344, allocations: 7.984 kB / 1.175 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3441, allocations: 19.44 kB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.3441, allocations: 0 / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.3634, allocations: 2.892 MB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8, allocations: 3.953 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches