Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_10_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.006559/0.006559, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00145/0.00145, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 4.348 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 3.228/3.228, allocations: 437.1 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.14 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3619, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004584/0.3666, allocations: 2.609 MB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3683, allocations: 0.9002 MB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.3687, allocations: 11.94 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.369, allocations: 59.39 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.3693, allocations: 75.34 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.37, allocations: 235.3 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.3705, allocations: 455.7 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.371, allocations: 225.4 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.3712, allocations: 151.3 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3714, allocations: 151.2 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.3715, allocations: 52 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.3715, allocations: 48 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.3716, allocations: 95.66 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.3718, allocations: 187 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.3725, allocations: 0.6188 MB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3725, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3725, allocations: 3.938 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3725, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 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.00104/0.3736, allocations: 0.666 MB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3736, allocations: 8.031 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.231e-05/0.3737, allocations: 62.72 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.3738, allocations: 40.7 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.3743, allocations: 395.4 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.3744, allocations: 20.94 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.3744, allocations: 28.38 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.375, allocations: 325.5 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3751, allocations: 7.938 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3751, allocations: 16 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3751, allocations: 4 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.3756, allocations: 242.1 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.3771, allocations: 1.151 MB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.3776, allocations: 234.8 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3778, allocations: 96.83 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3779, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3779, allocations: 34.56 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.3779, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0006662/0.3786, allocations: 310.5 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.3786, allocations: 77.11 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.379, allocations: 332.5 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.379, allocations: 29.7 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3792, allocations: 196.3 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.3792, allocations: 59.48 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.3793, allocations: 41.7 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3795, allocations: 350.8 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.3797, allocations: 84.83 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.3799, allocations: 115.4 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.3803, allocations: 192.2 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3803, allocations: 0 / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005043/0.3808, allocations: 253.3 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3808, allocations: 6.344 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3808, allocations: 4.062 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3809, allocations: 4 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.3811, allocations: 35.92 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3811, allocations: 3.938 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3812, allocations: 31.77 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3812, allocations: 8 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000255/0.3815, allocations: 192.1 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001591/0.3817, allocations: 109.3 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002633/0.382, allocations: 162.4 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.103e-06/0.382, allocations: 3.938 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005286/0.3825, allocations: 234.8 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3825, allocations: 4 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3825, allocations: 8.094 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.3826, allocations: 0 / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3828, allocations: 31.92 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3828, allocations: 3.984 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.383, allocations: 11.94 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.383, allocations: 4 kB / 1.178 GB, free: 10.98 MB / 0.9356 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.0001508/0.3831, allocations: 192.2 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.3833, allocations: 35.77 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.3834, allocations: 35.28 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3834, allocations: 0 / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3834, allocations: 7.938 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3834, allocations: 3.984 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.3841, allocations: 409.3 kB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3841, allocations: 0 / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3843, allocations: 27.92 kB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3843, allocations: 0 / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3844, allocations: 8 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3844, allocations: 0 / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3844, allocations: 7.938 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.3855, allocations: 438 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.3856, allocations: 128.9 kB / 1.179 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.3857, allocations: 4 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.386, allocations: 15.92 kB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.386, allocations: 19.98 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3861, allocations: 0 / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003657/0.3864, allocations: 235.1 kB / 1.179 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3865, allocations: 0 / 1.179 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007199/0.3872, allocations: 95.67 kB / 1.179 GB, free: 9.262 MB / 0.9356 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.001391/0.3886, allocations: 0.9739 MB / 1.18 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009028/0.3895, allocations: 277.6 kB / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3895, allocations: 0 / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.3898, allocations: 101.5 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.3907, allocations: 85.62 kB / 1.181 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.3965, allocations: 2.944 MB / 1.184 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.397, allocations: 0.7792 MB / 1.184 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.3972, allocations: 34.27 kB / 1.184 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.3974, allocations: 103.4 kB / 1.185 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/0.3975, allocations: 0 / 1.185 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.4339, allocations: 6.681 MB / 1.191 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.82, allocations: 7.984 kB / 1.191 GB, free: 13.27 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches