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.001686/0.001686, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001982/0.001982, allocations: 196.7 kB / 16.14 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.03 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2887, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001603/0.2903, allocations: 0.7195 MB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2916, allocations: 1.221 MB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.2917, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.2917, allocations: 3.938 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.2918, allocations: 3.938 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.2923, allocations: 197.7 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2924, allocations: 151.7 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.2925, allocations: 4 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.2926, allocations: 63.88 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.2927, allocations: 43.88 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.2927, allocations: 12 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.2928, allocations: 23.97 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.2928, allocations: 11.94 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.2929, allocations: 47.89 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2931, allocations: 143.9 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2931, allocations: 7.984 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2931, allocations: 4 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.2931, allocations: 0 / 1.055 GB, free: 5.582 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.0004247/0.2935, allocations: 434.7 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2936, allocations: 11.97 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.2936, allocations: 38.73 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.2937, allocations: 12.84 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/0.2938, allocations: 168.3 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2938, allocations: 4.375 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.2938, allocations: 16.38 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.2939, allocations: 50.23 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2939, allocations: 3.938 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2939, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2939, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.294, allocations: 15.94 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.2944, allocations: 364.6 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.2945, allocations: 30.56 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.2945, allocations: 20.86 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.2945, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.2947, allocations: 87.38 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2947, allocations: 4 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002242/0.2949, allocations: 101.6 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.295, allocations: 51.41 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.295, allocations: 113.8 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2951, allocations: 33.7 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.2951, allocations: 100.1 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2952, allocations: 15.73 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.2952, allocations: 49.69 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.2953, allocations: 326.8 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2955, allocations: 59.97 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2956, allocations: 92.25 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2958, allocations: 156.1 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2958, allocations: 3.938 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003771/0.2962, allocations: 260.8 kB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.2962, allocations: 71.39 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2962, allocations: 0 / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.2962, allocations: 0 / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.779e-05/0.2963, allocations: 7.938 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2963, allocations: 0 / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.2966, allocations: 60.05 kB / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.2967, allocations: 12 kB / 1.057 GB, free: 2.547 MB / 0.8106 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.589e-05/0.2968, allocations: 129.7 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2968, allocations: 7.906 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.2968, allocations: 8.375 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2968, allocations: 4 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2969, allocations: 177.6 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2969, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-06/0.297, allocations: 4 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.297, allocations: 3.984 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.297, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.297, allocations: 4.25 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.297, allocations: 4.062 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.2971, allocations: 124.9 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.2972, allocations: 85.02 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2972, allocations: 3.984 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.2972, allocations: 4 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.2972, allocations: 4 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.2973, allocations: 7.984 kB / 1.058 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.2973, allocations: 87.22 kB / 1.058 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2973, allocations: 7.938 kB / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002218/0.2975, allocations: 32 kB / 1.058 GB, free: 1.766 MB / 0.8106 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.0003763/0.2979, allocations: 0.6514 MB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.2982, allocations: 246.7 kB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2982, allocations: 256 / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.2983, allocations: 31.97 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.2985, allocations: 15.98 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3002, allocations: 1.702 MB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.3004, allocations: 0.6848 MB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.3004, allocations: 4 kB / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.3004, allocations: 23.42 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3004, allocations: 0 / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3906/0.6911, allocations: 2.67 MB / 1.064 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.6914, allocations: 212.3 kB / 1.064 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.466, allocations: 4 kB / 1.064 GB, free: 11.39 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