Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.568/2.568, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 67.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7397, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00153/0.7413, allocations: 0.6603 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.7424, allocations: 1.205 MB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.7424, allocations: 0.9062 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.7424, allocations: 3.938 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.7425, allocations: 12.06 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.743, allocations: 210.5 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.7432, allocations: 183.3 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.959e-05/0.7433, allocations: 5.641 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.7434, allocations: 63.25 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.7435, allocations: 70.28 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.7435, allocations: 14.88 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.7436, allocations: 29.12 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.7436, allocations: 9.156 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.7437, allocations: 55.86 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.7439, allocations: 159.5 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.7439, allocations: 0 / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7439, allocations: 4 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7439, allocations: 0 / 1.274 GB, free: 6.105 MB / 0.9981 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.0003611/0.7442, allocations: 435.1 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.7443, allocations: 9.75 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.794e-05/0.7443, allocations: 32.78 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.7443, allocations: 12.8 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.223e-05/0.7444, allocations: 168.9 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.7444, allocations: 8.719 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.7444, allocations: 10.27 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.7445, allocations: 49.86 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.7445, allocations: 3.938 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.7445, allocations: 0.7031 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.7445, allocations: 4.688 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.7446, allocations: 14.42 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.7449, allocations: 355.9 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.7449, allocations: 28.36 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.745, allocations: 18.8 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-06/0.745, allocations: 0.8438 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.7451, allocations: 87.08 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.7451, allocations: 0 / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002015/0.7453, allocations: 104.1 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.7453, allocations: 52.47 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.7454, allocations: 126.8 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.7454, allocations: 37.3 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.7454, allocations: 92.94 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.7454, allocations: 11.41 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.7455, allocations: 48.19 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.7456, allocations: 323.4 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.7457, allocations: 60 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.7458, allocations: 96.52 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.746, allocations: 158.7 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.746, allocations: 0 / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003772/0.7463, allocations: 269.2 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.7464, allocations: 69.39 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7464, allocations: 1.156 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7464, allocations: 1.688 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.7464, allocations: 17.8 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7464, allocations: 2.219 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.7467, allocations: 49.55 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.7467, allocations: 16 kB / 1.277 GB, free: 3.777 MB / 0.9981 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 6.103e-05/0.7468, allocations: 122.8 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.7468, allocations: 9.875 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.7468, allocations: 9.375 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7468, allocations: 0.9688 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.7468, allocations: 0 / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7468, allocations: 1.219 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.272e-05/0.7469, allocations: 174.5 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7469, allocations: 1.344 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.7469, allocations: 12.81 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7469, allocations: 2.344 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.7469, allocations: 4.656 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7469, allocations: 0.75 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7469, allocations: 0 / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.7471, allocations: 122.3 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.7471, allocations: 78.98 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.7471, allocations: 1.156 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.7471, allocations: 4.844 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.7471, allocations: 9.516 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.7471, allocations: 8 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.7472, allocations: 91.2 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7472, allocations: 0.6562 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002215/0.7474, allocations: 35.05 kB / 1.277 GB, free: 3.141 MB / 0.9981 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.0002743/0.7477, allocations: 0.6478 MB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.7479, allocations: 225 kB / 1.278 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.7479, allocations: 0 / 1.278 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.748, allocations: 23.8 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.7482, allocations: 16.47 kB / 1.278 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.7497, allocations: 1.712 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.7499, allocations: 0.6927 MB / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.75, allocations: 4.406 kB / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.75, allocations: 20.61 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.75, allocations: 3.938 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.7732, allocations: 2.881 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.695, allocations: 4.031 kB / 1.283 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.058928655000273]