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.007533/0.00754, allocations: 103.2 kB / 15.74 MB, free: 6.449 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.001574/0.001575, allocations: 199.4 kB / 16.68 MB, free: 6.352 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.546/1.546, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.731/2.731, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00449/0.3218, allocations: 2.605 MB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3237, allocations: 0.9118 MB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.3241, allocations: 11.94 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.3244, allocations: 55.39 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.3246, allocations: 67.41 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.3252, allocations: 235.1 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.3258, allocations: 455.6 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.3262, allocations: 225.4 kB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.3264, allocations: 147.4 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3266, allocations: 151.1 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.3267, allocations: 52 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.3267, allocations: 48 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.3268, allocations: 95.7 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.327, allocations: 183.1 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.3277, allocations: 0.6227 MB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3277, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3277, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3277, allocations: 0 / 1.172 GB, free: 1.504 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.001012/0.3287, allocations: 0.6698 MB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3288, allocations: 8.031 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.3288, allocations: 58.73 kB / 1.173 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.3289, allocations: 40.7 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.3295, allocations: 395.4 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.3296, allocations: 24.94 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.3296, allocations: 32.3 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.3303, allocations: 329.5 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3303, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.3304, allocations: 12 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3304, allocations: 4 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.3309, allocations: 230.2 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.3326, allocations: 1.163 MB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.3331, allocations: 232.8 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.3333, allocations: 96.83 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3334, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3334, allocations: 38.56 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3334, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007606/0.3342, allocations: 305.2 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.3343, allocations: 77.11 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.3347, allocations: 328.5 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3348, allocations: 33.69 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.335, allocations: 200.3 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.335, allocations: 55.48 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3351, allocations: 49.7 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3353, allocations: 346.7 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.3355, allocations: 88.83 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3358, allocations: 115.4 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.3362, allocations: 189 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3362, allocations: 0 / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005223/0.3367, allocations: 257.3 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3367, allocations: 4.062 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3368, allocations: 4 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3368, allocations: 4 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.337, allocations: 31.98 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.337, allocations: 7.875 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3371, allocations: 27.83 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3372, allocations: 8 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002822/0.3375, allocations: 188.1 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001811/0.3377, allocations: 113.6 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002936/0.338, allocations: 168.8 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.338, allocations: 0 / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004294/0.3384, allocations: 231.3 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3384, allocations: 4.094 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3384, allocations: 8 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.3384, allocations: 0 / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3386, allocations: 27.98 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.3386, allocations: 0 / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3387, allocations: 15.92 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3387, allocations: 4 kB / 1.178 GB, free: 11.06 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.000145/0.3389, allocations: 194.2 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.339, allocations: 35.77 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.901e-05/0.3391, allocations: 43.27 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3391, allocations: 0 / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3391, allocations: 7.938 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3391, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.3396, allocations: 405.3 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3396, allocations: 0 / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.3397, allocations: 27.92 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3398, allocations: 0 / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.3398, allocations: 11.98 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3398, allocations: 0 / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3398, allocations: 3.938 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.3405, allocations: 438.1 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3407, allocations: 128.9 kB / 1.179 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.3407, allocations: 8 kB / 1.179 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3409, allocations: 11.98 kB / 1.179 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.3409, allocations: 23.92 kB / 1.179 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.341, allocations: 4 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002468/0.3412, allocations: 231.1 kB / 1.179 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3412, allocations: 0 / 1.179 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004012/0.3416, allocations: 95.67 kB / 1.179 GB, free: 9.34 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.001076/0.3427, allocations: 0.97 MB / 1.18 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.3434, allocations: 279.7 kB / 1.181 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.3434, allocations: 0 / 1.181 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.3436, allocations: 104.2 kB / 1.181 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.3442, allocations: 82.8 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.3484, allocations: 2.942 MB / 1.184 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3489, allocations: 0.7792 MB / 1.184 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.349, allocations: 26.28 kB / 1.184 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.3492, allocations: 103.3 kB / 1.185 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of SimCode: time 7.91e-07/0.3492, allocations: 0 / 1.185 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.3804, allocations: 6.688 MB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.558/8.938, allocations: 7.922 kB / 1.191 GB, free: 13.35 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