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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001021/0.001021, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006717/0.006717, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003881, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8409/0.8413, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008459/0.8422, allocations: 390.8 kB / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.8435, allocations: 1.202 MB / 0.9567 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.8436, allocations: 0 / 0.9567 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.8436, allocations: 3.938 kB / 0.9567 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.8437, allocations: 9.234 kB / 0.9567 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.8443, allocations: 198 kB / 0.9569 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.8444, allocations: 156.7 kB / 0.9571 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.8445, allocations: 4.594 kB / 0.9571 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.8446, allocations: 60.58 kB / 0.9571 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.8447, allocations: 52.55 kB / 0.9572 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.8447, allocations: 7.25 kB / 0.9572 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.8448, allocations: 24.11 kB / 0.9572 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.8448, allocations: 5.781 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.8449, allocations: 80.64 kB / 0.9573 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.8451, allocations: 140.5 kB / 0.9574 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8451, allocations: 0 / 0.9574 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8451, allocations: 0 / 0.9574 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8451, allocations: 0 / 0.9574 GB, free: 6.043 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.000369/0.8455, allocations: 414 kB / 0.9578 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8455, allocations: 9.812 kB / 0.9578 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.8456, allocations: 32.28 kB / 0.9579 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.8456, allocations: 7.312 kB / 0.9579 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.003e-05/0.8457, allocations: 174.6 kB / 0.958 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.8457, allocations: 17.11 kB / 0.9581 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.8458, allocations: 9.25 kB / 0.9581 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.567e-05/0.8459, allocations: 44.56 kB / 0.9581 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.8459, allocations: 3.938 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.8459, allocations: 0 / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.8459, allocations: 5.312 kB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.846, allocations: 19.39 kB / 0.9581 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.8464, allocations: 350.8 kB / 0.9585 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.8464, allocations: 33.39 kB / 0.9585 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.8465, allocations: 17.59 kB / 0.9585 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.8465, allocations: 1.125 kB / 0.9585 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.8466, allocations: 83.84 kB / 0.9586 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8466, allocations: 0 / 0.9586 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002285/0.8469, allocations: 99.98 kB / 0.9587 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.8469, allocations: 65.52 kB / 0.9588 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.847, allocations: 126.5 kB / 0.9589 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.847, allocations: 29.08 kB / 0.9589 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.8471, allocations: 93.83 kB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.8471, allocations: 14.17 kB / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.8471, allocations: 24.78 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.8472, allocations: 321.5 kB / 0.9593 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.8473, allocations: 57.72 kB / 0.9594 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.8475, allocations: 100 kB / 0.9595 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.8476, allocations: 151.4 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8476, allocations: 4 kB / 0.9596 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003671/0.848, allocations: 255.3 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.8481, allocations: 69.02 kB / 0.96 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8481, allocations: 1.375 kB / 0.96 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8481, allocations: 1.375 kB / 0.96 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.8481, allocations: 5.312 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.8481, allocations: 3.062 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.8485, allocations: 89.44 kB / 0.96 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.8486, allocations: 8.25 kB / 0.9601 GB, free: 3.543 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 8.563e-05/0.8487, allocations: 131.4 kB / 0.9602 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.8487, allocations: 10.64 kB / 0.9602 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.8487, allocations: 9.75 kB / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8487, allocations: 0 / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8487, allocations: 1.375 kB / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8487, allocations: 0 / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.8488, allocations: 181 kB / 0.9604 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8488, allocations: 3.938 kB / 0.9604 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-06/0.8489, allocations: 5.438 kB / 0.9604 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8489, allocations: 9.375 kB / 0.9604 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8489, allocations: 1.375 kB / 0.9604 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8489, allocations: 7.875 kB / 0.9604 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8489, allocations: 1.375 kB / 0.9604 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.849, allocations: 111.4 kB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.8491, allocations: 82.39 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.8491, allocations: 5.359 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.8491, allocations: 1.375 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.8492, allocations: 6.75 kB / 0.9606 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.8492, allocations: 6.734 kB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.8492, allocations: 87.53 kB / 0.9607 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8492, allocations: 0 / 0.9607 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002282/0.8494, allocations: 30.12 kB / 0.9607 GB, free: 2.875 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.0003498/0.8498, allocations: 0.6595 MB / 0.9614 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.8501, allocations: 244.9 kB / 0.9616 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8501, allocations: 0 / 0.9616 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.8502, allocations: 20.19 kB / 0.9616 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.8504, allocations: 17.11 kB / 0.9616 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.852, allocations: 1.725 MB / 0.9633 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.8521, allocations: 0.688 MB / 0.964 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.8522, allocations: 11.8 kB / 0.964 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.8522, allocations: 19.28 kB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8522, allocations: 0.875 kB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.8656, allocations: 2.606 MB / 0.9666 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.8658, allocations: 200.9 kB / 0.9668 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.732, allocations: 3.938 kB / 0.9668 GB, free: 14.25 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