Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_10_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.001423/0.001423, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.1 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6182, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001834/0.6201, allocations: 0.6674 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.6215, allocations: 1.183 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.6216, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.6217, allocations: 3.938 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.6218, allocations: 11.88 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.6225, allocations: 215 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.6227, allocations: 183.7 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.6228, allocations: 11.97 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.6229, allocations: 71.89 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.623, allocations: 47.86 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.6231, allocations: 16 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.6232, allocations: 31.92 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.6232, allocations: 8 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.6233, allocations: 63.81 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.6235, allocations: 141.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6235, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6235, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.6236, allocations: 3.938 kB / 1.02 GB, free: 15.87 MB / 0.7794 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.0004987/0.6241, allocations: 442.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6241, allocations: 12.03 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.6241, allocations: 30.75 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.6242, allocations: 12.84 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.6243, allocations: 168.3 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.6243, allocations: 12.38 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.6244, allocations: 8.375 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.6245, allocations: 46.19 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6245, allocations: 3.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6245, allocations: 7.984 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6245, allocations: 8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.6245, allocations: 8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.625, allocations: 356.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.6251, allocations: 34.56 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.6251, allocations: 20.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.6251, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6252, allocations: 71.47 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.6253, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002183/0.6255, allocations: 105.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.6255, allocations: 59.33 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.6256, allocations: 113.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.6257, allocations: 29.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.6257, allocations: 100.1 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.6258, allocations: 15.8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.6259, allocations: 49.69 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.626, allocations: 314.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.6261, allocations: 63.95 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.6263, allocations: 93.89 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.6265, allocations: 163.6 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6265, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004188/0.6269, allocations: 260.8 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.627, allocations: 72.95 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.627, allocations: 4.125 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.627, allocations: 7.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.627, allocations: 3.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.627, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.6274, allocations: 55.94 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.6275, allocations: 11.98 kB / 1.023 GB, free: 12.84 MB / 0.7794 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 9.44e-05/0.6276, allocations: 129.8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.6276, allocations: 15.88 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.6276, allocations: 4.375 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6276, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6276, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6276, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.6278, allocations: 181.6 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6278, allocations: 3.984 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.6278, allocations: 7.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6278, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.6278, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6278, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6278, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.628, allocations: 113 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.628, allocations: 81.11 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.628, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.628, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.6281, allocations: 11.98 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.6281, allocations: 8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.6282, allocations: 95.2 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6282, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002298/0.6284, allocations: 27.91 kB / 1.023 GB, free: 12.07 MB / 0.7794 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.0004474/0.6288, allocations: 0.6557 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.6292, allocations: 242.7 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6292, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.6292, allocations: 32 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.6295, allocations: 17.25 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.6313, allocations: 1.716 MB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.6316, allocations: 0.6924 MB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.6316, allocations: 4 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.6316, allocations: 16 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6316, allocations: 0 / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.651, allocations: 2.852 MB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.655, allocations: 13.47 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches