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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005196/0.005196, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.00131/0.001311, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.91 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3059, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001794/0.3078, allocations: 0.6451 MB / 1.243 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3093, allocations: 1.194 MB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.3094, allocations: 0 / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.3094, allocations: 3.938 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.3095, allocations: 7.938 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.3101, allocations: 214.5 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3104, allocations: 183.7 kB / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.3105, allocations: 16 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.3106, allocations: 79.75 kB / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3107, allocations: 55.86 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.3108, allocations: 16 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3109, allocations: 27.98 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.3109, allocations: 11.97 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.311, allocations: 55.83 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3112, allocations: 151.5 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3112, allocations: 4 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3112, allocations: 0 / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3112, allocations: 0 / 1.244 GB, free: 7.215 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.0005278/0.3118, allocations: 438.7 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3118, allocations: 8.031 kB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.3119, allocations: 38.75 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.3119, allocations: 12.89 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3121, allocations: 172.3 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3121, allocations: 4.375 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3121, allocations: 12.36 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3122, allocations: 54.25 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3122, allocations: 3.938 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3123, allocations: 0 / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3123, allocations: 0 / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.3123, allocations: 19.97 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.3128, allocations: 356.6 kB / 1.246 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.3129, allocations: 30.58 kB / 1.246 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.3129, allocations: 20.94 kB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3129, allocations: 4 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.3131, allocations: 79.36 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.3131, allocations: 0 / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002411/0.3133, allocations: 101.6 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3134, allocations: 55.41 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3135, allocations: 125.8 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3135, allocations: 33.7 kB / 1.246 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.3136, allocations: 88.09 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3136, allocations: 15.94 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.3137, allocations: 49.69 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3139, allocations: 322.8 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.314, allocations: 59.97 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.3142, allocations: 96.19 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3144, allocations: 151.6 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3144, allocations: 4 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004283/0.3148, allocations: 268.8 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.3149, allocations: 68.8 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3149, allocations: 4 kB / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3149, allocations: 0 / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.3149, allocations: 7.984 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3149, allocations: 0 / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.3153, allocations: 55.95 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.3153, allocations: 16 kB / 1.247 GB, free: 4.18 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 0.0001106/0.3154, allocations: 132.5 kB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.3155, allocations: 8.422 kB / 1.247 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3155, allocations: 8.375 kB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3155, allocations: 4 kB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3155, allocations: 0 / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3155, allocations: 0 / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3157, allocations: 185.6 kB / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3157, allocations: 4 kB / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-06/0.3157, allocations: 0 / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3157, allocations: 0 / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3157, allocations: 4 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3157, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3157, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3159, allocations: 117 kB / 1.248 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.3159, allocations: 81.06 kB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.316, allocations: 3.984 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.316, allocations: 12 kB / 1.248 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.316, allocations: 0 / 1.248 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.316, allocations: 7.984 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.3161, allocations: 87.28 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3161, allocations: 0 / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002328/0.3163, allocations: 32 kB / 1.248 GB, free: 3.41 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.0004933/0.3168, allocations: 0.6596 MB / 1.248 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.3172, allocations: 239.2 kB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3172, allocations: 4 kB / 1.249 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.3173, allocations: 23.98 kB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3175, allocations: 24.06 kB / 1.249 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3195, allocations: 1.72 MB / 1.25 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5329/0.8524, allocations: 0.6861 MB / 1.251 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.8525, allocations: 6.531 kB / 1.251 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.8525, allocations: 16.14 kB / 1.251 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.8525, allocations: 0.5 kB / 1.251 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.94, allocations: 2.89 MB / 1.254 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/12.66, allocations: 7.656 kB / 1.254 GB, free: 14.07 MB / 0.9981 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=400 --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