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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001595/0.001595, 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.001138/0.001138, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.309/2.309, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 65.94 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2278, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001466/0.2293, allocations: 0.7233 MB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2304, allocations: 1.194 MB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.2305, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2305, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.2306, allocations: 11.91 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.231, allocations: 201.8 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.2312, allocations: 179.7 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.2313, allocations: 11.98 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.2313, allocations: 75.81 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.2314, allocations: 47.88 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.2314, allocations: 16 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.2315, allocations: 27.98 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.2315, allocations: 19.92 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.2316, allocations: 47.89 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2317, allocations: 155.9 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2317, allocations: 0 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2318, allocations: 0 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.2318, allocations: 0 / 1.055 GB, free: 5.922 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.0003734/0.2321, allocations: 440.3 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.462e-05/0.2322, allocations: 8.625 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.2322, allocations: 34.75 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.2322, allocations: 8.844 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.587e-05/0.2323, allocations: 180.2 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2324, allocations: 4.375 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2324, allocations: 12.38 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.522e-05/0.2325, allocations: 46.25 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2325, allocations: 7.922 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.2325, allocations: 0 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.2325, allocations: 0 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.2325, allocations: 15.98 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.2329, allocations: 364.6 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/0.2329, allocations: 34.5 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.233, allocations: 16.86 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.233, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.2331, allocations: 79.47 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2331, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0001795/0.2333, allocations: 117.5 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2334, allocations: 55.41 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.2334, allocations: 113.8 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.2335, allocations: 29.7 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.2335, allocations: 88.14 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2335, allocations: 15.8 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.2336, allocations: 49.69 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.2337, allocations: 322.8 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2338, allocations: 63.95 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.234, allocations: 88.2 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.2341, allocations: 176 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2341, allocations: 3.938 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003632/0.2345, allocations: 256.8 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.2345, allocations: 68.95 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2346, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.2346, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.47e-05/0.2346, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2346, allocations: 128 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2349, allocations: 55.94 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.235, allocations: 15.98 kB / 1.058 GB, free: 2.883 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 7.771e-05/0.235, allocations: 129.7 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.235, allocations: 7.891 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.2351, allocations: 12.38 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2351, allocations: 4 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2351, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2351, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2352, allocations: 177.6 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2352, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.2352, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2352, allocations: 4 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2352, allocations: 4 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2352, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2353, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2354, allocations: 116.9 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.2354, allocations: 85.02 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2354, allocations: 4 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.791e-05/0.2355, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.2355, allocations: 8.047 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.2355, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.2355, allocations: 95.2 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2355, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002066/0.2358, allocations: 36 kB / 1.058 GB, free: 2.113 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.0003492/0.2361, allocations: 0.6514 MB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2364, allocations: 242.7 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2364, allocations: 4.25 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.2364, allocations: 28 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.2366, allocations: 18.31 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2382, allocations: 1.719 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.2384, allocations: 0.6846 MB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.2384, allocations: 4 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.2384, allocations: 23.44 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2384, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5944/0.8329, allocations: 2.764 MB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/0.8333, allocations: 217.3 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.633, allocations: 0 / 1.065 GB, free: 11.66 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