Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_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.00105/0.00105, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0092/0.0092, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 13.67 kB / 0.9029 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3136, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0007635/0.3144, allocations: 389.7 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3159, allocations: 1.213 MB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.3159, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.316, allocations: 3.938 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.316, allocations: 11.91 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.3166, allocations: 197.1 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3168, allocations: 155.7 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.3168, allocations: 8 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.3169, allocations: 67.81 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.317, allocations: 39.88 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.3171, allocations: 8 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.36e-05/0.3171, allocations: 27.92 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3172, allocations: 4 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.3173, allocations: 77.52 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.3175, allocations: 147.9 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3175, allocations: 3.938 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3175, allocations: 4 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.3175, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.8106 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.000411/0.3179, allocations: 410.8 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3179, allocations: 11.97 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.318, allocations: 30.75 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.318, allocations: 8.938 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3182, allocations: 168.3 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3182, allocations: 4.375 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.3182, allocations: 16.36 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.95e-05/0.3183, allocations: 50.19 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3183, allocations: 7.938 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3184, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3184, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.3184, allocations: 15.98 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.3189, allocations: 352.7 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.319, allocations: 34.52 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.319, allocations: 20.94 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.319, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3192, allocations: 87.28 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3192, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002332/0.3194, allocations: 101.6 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3195, allocations: 59.41 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.3196, allocations: 129.7 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.3196, allocations: 29.7 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3197, allocations: 88.14 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.3197, allocations: 11.81 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3197, allocations: 25.7 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3198, allocations: 322.8 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.32, allocations: 59.97 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3201, allocations: 88.27 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3203, allocations: 163.6 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3204, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003962/0.3208, allocations: 264.8 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.3208, allocations: 71.33 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3208, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3209, allocations: 3.938 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.892e-05/0.3209, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3209, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3213, allocations: 79.98 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.3213, allocations: 8 kB / 1.064 GB, free: 15.53 MB / 0.8262 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.000154/0.3215, allocations: 129.7 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3215, allocations: 11.91 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.3215, allocations: 8.375 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3215, allocations: 4 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3215, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3216, allocations: 480 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3217, allocations: 181.5 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3217, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.3218, allocations: 4.062 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3218, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.3218, allocations: 11.94 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3218, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3218, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3219, allocations: 113.2 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.322, allocations: 81.11 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.322, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.322, allocations: 7.984 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3221, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.3221, allocations: 4 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.3221, allocations: 99.2 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3221, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002265/0.3224, allocations: 32 kB / 1.064 GB, free: 14.75 MB / 0.8262 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.0004831/0.3229, allocations: 0.6538 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3232, allocations: 250.9 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3232, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.3233, allocations: 23.94 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3235, allocations: 15.98 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.3253, allocations: 1.724 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3256, allocations: 0.6848 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3e-05/0.3256, allocations: 8.562 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.3257, allocations: 23.42 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3257, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.3385, allocations: 2.606 MB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.3387, allocations: 196.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.138, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches