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.001912/0.001912, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00246/0.00246, allocations: 196.7 kB / 16.25 MB, free: 6.625 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.544/2.544, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9052/0.9066, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001901/0.9086, allocations: 0.718 MB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.9099, allocations: 1.187 MB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.91, allocations: 0 / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.9101, allocations: 1.344 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.9102, allocations: 5.312 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.9109, allocations: 207.4 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.9111, allocations: 173.7 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.9112, allocations: 20.44 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.9113, allocations: 60.97 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.9114, allocations: 56.17 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.9115, allocations: 15.12 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.012e-05/0.9116, allocations: 37.92 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.9116, allocations: 10.73 kB / 0.9517 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.9117, allocations: 59.08 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.9119, allocations: 144.4 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.9119, allocations: 5.344 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9119, allocations: 0 / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.9119, allocations: 0 / 0.9519 GB, free: 7.066 MB / 0.7169 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.0005063/0.9124, allocations: 436.6 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9125, allocations: 9.906 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.9125, allocations: 31.84 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.9126, allocations: 8.5 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.9127, allocations: 174.5 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.9127, allocations: 12.52 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.9127, allocations: 13.12 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.9129, allocations: 47.7 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.9129, allocations: 9.469 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.9129, allocations: 0 / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.9129, allocations: 0 / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.9129, allocations: 15.83 kB / 0.9526 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.9134, allocations: 360 kB / 0.9529 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.9135, allocations: 32.27 kB / 0.953 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.9135, allocations: 19.06 kB / 0.953 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.9135, allocations: 0 / 0.953 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.9137, allocations: 84.16 kB / 0.9531 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9137, allocations: 4 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002528/0.9139, allocations: 99.89 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.914, allocations: 56.88 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.9141, allocations: 121.9 kB / 0.9533 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.9141, allocations: 34.58 kB / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.9142, allocations: 92.75 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.9142, allocations: 10.44 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.9143, allocations: 52.33 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.9144, allocations: 329.2 kB / 0.9538 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.9145, allocations: 58.78 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.9147, allocations: 90.19 kB / 0.954 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.9148, allocations: 164.6 kB / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9148, allocations: 0 / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000431/0.9153, allocations: 258 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.9153, allocations: 68.77 kB / 0.9544 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.9154, allocations: 1.344 kB / 0.9544 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9154, allocations: 2.844 kB / 0.9544 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.251e-05/0.9154, allocations: 5.297 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9154, allocations: 2.062 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.9158, allocations: 60.22 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.9158, allocations: 13.39 kB / 0.9545 GB, free: 4.539 MB / 0.7169 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.18e-05/0.9159, allocations: 128.6 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.916, allocations: 6.656 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.916, allocations: 13.61 kB / 0.9547 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.916, allocations: 5.344 kB / 0.9547 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.916, allocations: 0 / 0.9547 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.916, allocations: 3.938 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.9161, allocations: 173 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9161, allocations: 0 / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.9161, allocations: 1.375 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9162, allocations: 5.25 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.9162, allocations: 5.359 kB / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9162, allocations: 320 / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9162, allocations: 1.375 kB / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.9163, allocations: 126.8 kB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.9164, allocations: 79.52 kB / 0.955 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.9164, allocations: 1.25 kB / 0.955 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.9164, allocations: 4 kB / 0.955 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.9165, allocations: 7.578 kB / 0.9551 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.9165, allocations: 6.5 kB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.9165, allocations: 90.95 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9165, allocations: 1.469 kB / 0.9552 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002549/0.9168, allocations: 33.59 kB / 0.9552 GB, free: 3.871 MB / 0.7169 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.0003762/0.9172, allocations: 0.6469 MB / 0.9558 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.9175, allocations: 253.3 kB / 0.9561 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9175, allocations: 1.344 kB / 0.9561 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.9176, allocations: 27.8 kB / 0.9561 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.9178, allocations: 15.8 kB / 0.9561 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.9195, allocations: 1.721 MB / 0.9578 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.9197, allocations: 0.6872 MB / 0.9585 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.9197, allocations: 12.45 kB / 0.9585 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.9197, allocations: 27.03 kB / 0.9585 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.9197, allocations: 0 / 0.9585 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.9323, allocations: 2.762 MB / 0.9612 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.9325, allocations: 195 kB / 0.9614 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.764, allocations: 0 / 0.9614 GB, free: 15.12 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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