Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.007573/0.007573, allocations: 103.8 kB / 15.74 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.001872/0.001872, allocations: 196.3 kB / 16.67 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.676/2.676, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.89 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002023/0.2832, allocations: 0.8946 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2843, allocations: 0.8857 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.2844, allocations: 4 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.2845, allocations: 15.75 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.2846, allocations: 7.875 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2848, allocations: 63.89 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.285, allocations: 139.7 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2852, allocations: 61.41 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.2853, allocations: 51.78 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.2854, allocations: 63.73 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.2854, allocations: 20 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.2854, allocations: 12 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.2855, allocations: 31.86 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.2855, allocations: 59.66 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2857, allocations: 143.3 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2857, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2857, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2857, allocations: 0 / 1.222 GB, free: 12.16 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000628/0.2864, allocations: 446.9 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2864, allocations: 12.03 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.2865, allocations: 42.75 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.2865, allocations: 20.83 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.2868, allocations: 218.6 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2868, allocations: 8.375 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.2868, allocations: 12.38 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.2872, allocations: 158.7 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2872, allocations: 3.938 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2872, allocations: 4 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2872, allocations: 4 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.2876, allocations: 127.9 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.2883, allocations: 492.2 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.2885, allocations: 90.47 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2886, allocations: 40.84 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2886, allocations: 15.95 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2887, allocations: 34.56 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2887, allocations: 4.188 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000463/0.2891, allocations: 157.7 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2892, allocations: 55.34 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2894, allocations: 203.4 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2894, allocations: 29.7 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.2895, allocations: 108.1 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2895, allocations: 39.69 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.2896, allocations: 25.72 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.2897, allocations: 322.8 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2898, allocations: 43.97 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.2899, allocations: 39.97 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.2902, allocations: 96.81 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2902, allocations: 7.938 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003117/0.2905, allocations: 147.9 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2905, allocations: 8 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2905, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2905, allocations: 3.938 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2907, allocations: 27.97 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2907, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2908, allocations: 27.84 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2908, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 9.68e-05/0.2909, allocations: 129.8 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.291, allocations: 11.89 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.2913, allocations: 139 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2914, allocations: 0 / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2914, allocations: 0 / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2914, allocations: 0 / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.2919, allocations: 460.8 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.292, allocations: 4 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2921, allocations: 19.98 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2921, allocations: 0 / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2921, allocations: 4 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2921, allocations: 8.109 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2921, allocations: 3.984 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.2925, allocations: 250 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.2925, allocations: 101 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2925, allocations: 0 / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2927, allocations: 15.98 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.2927, allocations: 11.92 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2928, allocations: 4 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2929, allocations: 145.2 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2929, allocations: 0 / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002578/0.2931, allocations: 24 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0006843/0.2938, allocations: 0.7812 MB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.2941, allocations: 91.89 kB / 1.227 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2942, allocations: 7.984 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2943, allocations: 43.92 kB / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2946, allocations: 29.27 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.2967, allocations: 1.903 MB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.297, allocations: 0.7045 MB / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.297, allocations: 13.08 kB / 1.23 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.2971, allocations: 47.36 kB / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2971, allocations: 0 / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.3131, allocations: 2.811 MB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.502, allocations: 5.188 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches