Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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.005075/0.005074, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001192/0.001192, allocations: 197.4 kB / 16.67 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.7 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.89 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 159.9 MB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003883/0.3281, allocations: 2.623 MB / 1.228 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3297, allocations: 0.9118 MB / 1.229 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.33, allocations: 11.94 kB / 1.229 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3302, allocations: 63.39 kB / 1.229 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3304, allocations: 71.39 kB / 1.229 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.3309, allocations: 234.4 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.3314, allocations: 451.7 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.3318, allocations: 229.1 kB / 1.23 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.332, allocations: 147.5 kB / 1.23 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3321, allocations: 151.1 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.3322, allocations: 48 kB / 1.23 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.3323, allocations: 52 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.3323, allocations: 91.69 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3325, allocations: 187 kB / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.3331, allocations: 0.6227 MB / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3331, allocations: 0 / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3331, allocations: 0 / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.3331, allocations: 0 / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009537/0.3341, allocations: 0.662 MB / 1.232 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3341, allocations: 8.031 kB / 1.232 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/0.3342, allocations: 66.72 kB / 1.232 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.3343, allocations: 40.7 kB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.3348, allocations: 395.4 kB / 1.232 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3348, allocations: 20.94 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.3349, allocations: 28.38 kB / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.3354, allocations: 329.5 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3354, allocations: 4 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.3355, allocations: 12 kB / 1.232 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3355, allocations: 8 kB / 1.232 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.336, allocations: 230.2 kB / 1.233 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3374, allocations: 1.155 MB / 1.234 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.3379, allocations: 234.8 kB / 1.234 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3381, allocations: 92.88 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3382, allocations: 7.984 kB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3382, allocations: 34.56 kB / 1.234 GB, free: 288 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3382, allocations: 0 / 1.234 GB, free: 288 kB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006642/0.3389, allocations: 308.4 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3389, allocations: 81.11 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.3393, allocations: 328.5 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3393, allocations: 29.7 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3394, allocations: 196.3 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3395, allocations: 71.25 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.3396, allocations: 45.7 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3397, allocations: 334.8 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3399, allocations: 84.83 kB / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3401, allocations: 121.3 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3405, allocations: 188.4 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3405, allocations: 4 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004727/0.341, allocations: 259.6 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.341, allocations: 8.062 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.341, allocations: 4 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.341, allocations: 0 / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3412, allocations: 35.91 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3412, allocations: 7.938 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3414, allocations: 19.89 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3414, allocations: 4 kB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002321/0.3416, allocations: 196.1 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001496/0.3418, allocations: 105.1 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00026/0.3421, allocations: 158.5 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.3421, allocations: 4 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003676/0.3424, allocations: 231.1 kB / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.3425, allocations: 12.09 kB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.3425, allocations: 0 / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.3425, allocations: 0 / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3426, allocations: 35.98 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.3426, allocations: 0 / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3427, allocations: 19.83 kB / 1.237 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3428, allocations: 8 kB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.000102/0.3429, allocations: 188.7 kB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3429, allocations: 31.8 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/0.343, allocations: 39.28 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.343, allocations: 4 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.343, allocations: 3.938 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.343, allocations: 0 / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.3435, allocations: 409.3 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3435, allocations: 0 / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.3436, allocations: 27.92 kB / 1.238 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3437, allocations: 7.938 kB / 1.238 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3437, allocations: 4 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3437, allocations: 0 / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3437, allocations: 7.938 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.3444, allocations: 431.2 kB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3445, allocations: 128.9 kB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3445, allocations: 11.92 kB / 1.238 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.3447, allocations: 8.062 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3448, allocations: 19.92 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3448, allocations: 4 kB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000228/0.345, allocations: 231.1 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.345, allocations: 0 / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004136/0.3454, allocations: 95.67 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009055/0.3463, allocations: 0.9726 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00058/0.3469, allocations: 285.3 kB / 1.24 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3469, allocations: 320 / 1.24 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3471, allocations: 99.89 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.3477, allocations: 88.39 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.3516, allocations: 2.933 MB / 1.243 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3519, allocations: 0.7792 MB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.352, allocations: 30.16 kB / 1.243 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.3523, allocations: 103.4 kB / 1.244 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3523, allocations: 4 kB / 1.244 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6014/0.9536, allocations: 6.686 MB / 1.25 GB, free: 25.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.946, allocations: 6.672 kB / 1.25 GB, free: 25.72 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches