Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan",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.004566/0.004566, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001252/0.001252, allocations: 196.8 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9053/1.198, allocations: 312.7 MB / 1.526 GB, free: 12.45 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.04116/1.24, allocations: 29.38 MB / 1.554 GB, free: 14.99 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/1.243, allocations: 79.62 kB / 1.554 GB, free: 14.91 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.006557/1.249, allocations: 2.388 MB / 1.557 GB, free: 12.52 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008495/1.258, allocations: 3.173 MB / 1.56 GB, free: 9.332 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.007933/1.266, allocations: 2.762 MB / 1.562 GB, free: 6.578 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01247/1.278, allocations: 7.553 MB / 1.57 GB, free: 15.01 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/1.281, allocations: 2.079 MB / 1.572 GB, free: 12.88 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/1.286, allocations: 2.394 MB / 1.574 GB, free: 10.48 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/1.289, allocations: 1.539 MB / 1.576 GB, free: 8.945 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004108/1.29, allocations: 256 kB / 1.576 GB, free: 8.695 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007017/1.297, allocations: 3.602 MB / 1.579 GB, free: 5.086 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008906/1.298, allocations: 0.8297 MB / 1.58 GB, free: 4.254 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/1.299, allocations: 1.396 MB / 1.582 GB, free: 2.852 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.007935/1.307, allocations: 5.451 MB / 1.587 GB, free: 13.38 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.307, allocations: 0 / 1.587 GB, free: 13.38 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.452e-06/1.307, allocations: 0 / 1.587 GB, free: 13.38 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.193e-05/1.307, allocations: 4 kB / 1.587 GB, free: 13.38 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005138/1.313, allocations: 3.025 MB / 1.59 GB, free: 10.28 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.313, allocations: 8.031 kB / 1.59 GB, free: 10.27 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/1.313, allocations: 194.3 kB / 1.59 GB, free: 10.07 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006006/1.319, allocations: 0.9544 MB / 1.591 GB, free: 9.113 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/1.33, allocations: 5.759 MB / 1.597 GB, free: 3.301 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.33, allocations: 102.6 kB / 1.597 GB, free: 3.199 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/1.33, allocations: 128 kB / 1.597 GB, free: 3.074 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/1.334, allocations: 1.593 MB / 1.598 GB, free: 1.414 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.334, allocations: 3.938 kB / 1.598 GB, free: 1.41 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/1.334, allocations: 52 kB / 1.598 GB, free: 1.359 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/1.334, allocations: 58.48 kB / 1.599 GB, free: 1.301 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/1.338, allocations: 1.325 MB / 1.6 GB, free: 15.96 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/1.349, allocations: 7.615 MB / 1.607 GB, free: 7.828 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/1.351, allocations: 0.6722 MB / 1.608 GB, free: 7.129 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/1.351, allocations: 260.7 kB / 1.608 GB, free: 6.871 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/1.352, allocations: 190.2 kB / 1.608 GB, free: 6.648 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/1.352, allocations: 35.16 kB / 1.608 GB, free: 6.605 MB / 1.295 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/1.352, allocations: 0 / 1.608 GB, free: 6.605 MB / 1.295 GB Notification: Performance of matching and sorting (n=35): time 0.002991/1.355, allocations: 1.058 MB / 1.609 GB, free: 5.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/1.355, allocations: 59.34 kB / 1.609 GB, free: 5.43 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/1.358, allocations: 2.361 MB / 1.612 GB, free: 3.051 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/1.359, allocations: 37.7 kB / 1.612 GB, free: 3.008 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009988/1.36, allocations: 0.9743 MB / 1.613 GB, free: 2.023 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.36, allocations: 142.8 kB / 1.613 GB, free: 1.883 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/1.36, allocations: 250.4 kB / 1.613 GB, free: 1.629 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.36, allocations: 349.9 kB / 1.613 GB, free: 1.281 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.362, allocations: 0.5165 MB / 1.614 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/1.363, allocations: 0.7892 MB / 1.615 GB, free: 15.86 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/1.366, allocations: 1.124 MB / 1.616 GB, free: 14.64 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.366, allocations: 4 kB / 1.616 GB, free: 14.64 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003613/1.369, allocations: 1.654 MB / 1.617 GB, free: 12.95 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.369, allocations: 8 kB / 1.617 GB, free: 12.95 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.369, allocations: 4.375 kB / 1.617 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/1.369, allocations: 40.84 kB / 1.617 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.371, allocations: 235.7 kB / 1.618 GB, free: 12.67 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/1.372, allocations: 1.568 MB / 1.619 GB, free: 10.96 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/1.374, allocations: 246.8 kB / 1.619 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/1.374, allocations: 43.98 kB / 1.62 GB, free: 10.68 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002032/1.376, allocations: 1.01 MB / 1.621 GB, free: 9.664 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001511/1.377, allocations: 0.7832 MB / 1.621 GB, free: 8.766 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002159/1.38, allocations: 1.101 MB / 1.622 GB, free: 7.566 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/1.38, allocations: 4 kB / 1.622 GB, free: 7.562 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003385/1.383, allocations: 1.613 MB / 1.624 GB, free: 5.918 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.383, allocations: 8 kB / 1.624 GB, free: 5.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.383, allocations: 8 kB / 1.624 GB, free: 5.902 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-05/1.383, allocations: 40.92 kB / 1.624 GB, free: 5.859 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.384, allocations: 239.8 kB / 1.624 GB, free: 5.625 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/1.386, allocations: 1.564 MB / 1.626 GB, free: 3.922 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.387, allocations: 163.5 kB / 1.626 GB, free: 3.762 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-05/1.387, allocations: 45.47 kB / 1.626 GB, free: 3.719 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002718/1.387, allocations: 233.4 kB / 1.626 GB, free: 3.484 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/1.388, allocations: 222.5 kB / 1.626 GB, free: 3.266 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/1.39, allocations: 0.759 MB / 1.627 GB, free: 2.473 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.39, allocations: 4 kB / 1.627 GB, free: 2.469 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.39, allocations: 0 / 1.627 GB, free: 2.469 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.39, allocations: 3.984 kB / 1.627 GB, free: 2.465 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/1.394, allocations: 2.164 MB / 1.629 GB, free: 204 kB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.394, allocations: 4 kB / 1.629 GB, free: 200 kB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.394, allocations: 96.08 kB / 1.629 GB, free: 104 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.966e-05/1.394, allocations: 28.84 kB / 1.629 GB, free: 72 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/1.394, allocations: 15.98 kB / 1.629 GB, free: 56 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/1.396, allocations: 1.558 MB / 1.631 GB, free: 14.36 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.396, allocations: 3.938 kB / 1.631 GB, free: 14.36 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.398, allocations: 0.9057 MB / 1.632 GB, free: 13.39 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/1.398, allocations: 363.5 kB / 1.632 GB, free: 13.02 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.398, allocations: 8 kB / 1.632 GB, free: 13.01 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.399, allocations: 71.92 kB / 1.632 GB, free: 12.94 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/1.399, allocations: 23.91 kB / 1.632 GB, free: 12.91 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/1.4, allocations: 19.98 kB / 1.632 GB, free: 12.89 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002743/1.402, allocations: 1.639 MB / 1.634 GB, free: 11.25 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.9e-07/1.402, allocations: 0 / 1.634 GB, free: 11.25 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002327/1.405, allocations: 0.9009 MB / 1.635 GB, free: 10.34 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002932/1.408, allocations: 1.8 MB / 1.636 GB, free: 8.469 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004204/1.412, allocations: 1.814 MB / 1.638 GB, free: 6.633 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.412, allocations: 4.062 kB / 1.638 GB, free: 6.629 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/1.413, allocations: 346.9 kB / 1.639 GB, free: 6.277 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/1.418, allocations: 1.245 MB / 1.64 GB, free: 5.062 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02526/1.443, allocations: 14.77 MB / 1.654 GB, free: 5.832 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.444, allocations: 1.537 MB / 1.656 GB, free: 4.262 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001905/1.446, allocations: 469.9 kB / 1.656 GB, free: 3.801 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.447, allocations: 0.8038 MB / 1.657 GB, free: 2.996 MB / 1.342 GB Notification: Performance of SimCode: time 8.22e-07/1.447, allocations: 0 / 1.657 GB, free: 2.996 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.559, allocations: 56.24 MB / 1.712 GB, free: 11.38 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.78, allocations: 7.922 kB / 1.712 GB, free: 11.37 MB / 1.404 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches