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.005015/0.005015, allocations: 102 kB / 15.73 MB, free: 5.551 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.001406/0.001406, allocations: 195.4 kB / 16.67 MB, free: 5.477 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.265/2.265, allocations: 437.1 MB / 0.7106 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 59.91 kB / 1.018 GB, free: 9.797 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.6063, allocations: 151.6 MB / 1.166 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001426/0.6078, allocations: 0.6544 MB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.609, allocations: 1.193 MB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.609, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.6091, allocations: 3.938 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.6091, allocations: 7.875 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.6097, allocations: 225.5 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.6099, allocations: 191.6 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.935e-05/0.61, allocations: 8 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.61, allocations: 59.95 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.6102, allocations: 71.78 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.6102, allocations: 16 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.6103, allocations: 31.98 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.6103, allocations: 7.984 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.6104, allocations: 63.81 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.6106, allocations: 150.3 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.6106, allocations: 0 / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6106, allocations: 0 / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6106, allocations: 0 / 1.169 GB, free: 1.039 MB / 0.8887 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.0004443/0.611, allocations: 439.6 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.6111, allocations: 16.62 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.6111, allocations: 34.75 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.6112, allocations: 12.89 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.6113, allocations: 168.3 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6113, allocations: 4.375 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.6113, allocations: 12.36 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.96e-05/0.6114, allocations: 50.25 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.6114, allocations: 7.875 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.6114, allocations: 4 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.6114, allocations: 0 / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.6115, allocations: 19.98 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.6119, allocations: 348.8 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.323e-05/0.612, allocations: 34.58 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.612, allocations: 16.94 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.612, allocations: 3.938 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.6121, allocations: 79.38 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6122, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0001962/0.6124, allocations: 101.5 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.6124, allocations: 55.34 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.6125, allocations: 125.8 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.6125, allocations: 29.7 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.6126, allocations: 92.09 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.6126, allocations: 15.91 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.6127, allocations: 49.69 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6128, allocations: 326.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.6129, allocations: 51.97 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.6131, allocations: 96.75 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.6133, allocations: 159.6 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6133, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003721/0.6136, allocations: 264.9 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.6137, allocations: 67.39 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6137, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6137, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.6137, allocations: 15.98 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6138, allocations: 4.312 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.6141, allocations: 55.83 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.6141, allocations: 16.45 kB / 1.171 GB, free: 14 MB / 0.9044 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.548e-05/0.6142, allocations: 121.8 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.6142, allocations: 11.95 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.6142, allocations: 4.375 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.6142, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6142, allocations: 7.938 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.6142, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6144, allocations: 177.6 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6144, allocations: 4 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.6144, allocations: 3.938 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.6144, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.6144, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6144, allocations: 7.984 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6144, allocations: 8.062 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.6146, allocations: 109 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.6146, allocations: 81.11 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.6146, allocations: 3.984 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.6146, allocations: 0 / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.6147, allocations: 8 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.6147, allocations: 7.984 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.6147, allocations: 91.28 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.743e-06/0.6147, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002014/0.615, allocations: 35.88 kB / 1.172 GB, free: 13.23 MB / 0.9044 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.0004064/0.6154, allocations: 0.6592 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002957/0.6157, allocations: 242.9 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.6157, allocations: 0 / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.6157, allocations: 31.92 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.6159, allocations: 15.98 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.6176, allocations: 1.704 MB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.6179, allocations: 0.6884 MB / 1.175 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.6179, allocations: 7.984 kB / 1.175 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.6179, allocations: 23.38 kB / 1.175 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6179, allocations: 0 / 1.175 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.463/2.081, allocations: 2.885 MB / 1.178 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/12.12, allocations: 15.44 kB / 1.178 GB, free: 6.875 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 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.mat","/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