Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.007378/0.007378, 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.001761/0.001761, allocations: 203.5 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.7422 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.12 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2825, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002301/0.2848, allocations: 0.9168 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2861, allocations: 0.8896 MB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.465e-05/0.2862, allocations: 0 / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.7e-05/0.2863, allocations: 7.875 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.2864, allocations: 23.78 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2866, allocations: 39.89 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.2868, allocations: 127.7 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.287, allocations: 61.41 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.2872, allocations: 59.73 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2873, allocations: 59.67 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.2874, allocations: 12 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.2874, allocations: 12 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.2875, allocations: 27.92 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.2875, allocations: 59.67 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2878, allocations: 151.4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2878, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2878, allocations: 3.938 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.2878, allocations: 0 / 1.222 GB, free: 12.21 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000695/0.2885, allocations: 438.8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2886, allocations: 8.031 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.2886, allocations: 46.75 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.2887, allocations: 16.84 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.289, allocations: 218.7 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.289, allocations: 8.375 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.289, allocations: 7.938 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2893, allocations: 109.6 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2893, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2893, allocations: 4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2894, allocations: 8 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.2896, allocations: 63.95 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.2902, allocations: 396.7 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2905, allocations: 98.56 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2907, allocations: 40.84 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2907, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2907, allocations: 38.5 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2907, allocations: 3.938 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/0.2911, allocations: 121.6 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2912, allocations: 55.41 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2913, allocations: 155.1 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2914, allocations: 33.7 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.2915, allocations: 112.2 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.2915, allocations: 23.83 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.2915, allocations: 25.7 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2917, allocations: 322.8 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2918, allocations: 35.97 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2919, allocations: 54.5 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2921, allocations: 52.98 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2921, allocations: 0 / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002532/0.2923, allocations: 125.5 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2924, allocations: 4 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2924, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2924, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.2925, allocations: 15.92 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2925, allocations: 4 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.2926, allocations: 11.92 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2926, allocations: 4 kB / 1.225 GB, free: 9.359 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001195/0.2927, allocations: 125.2 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.2928, allocations: 15.84 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.2928, allocations: 20.7 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2928, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2929, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2929, allocations: 4 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.2931, allocations: 205.6 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2931, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.2932, allocations: 15.92 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2932, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2932, allocations: 12 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2932, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2932, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2935, allocations: 191.4 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.2936, allocations: 96.94 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.2936, allocations: 4.219 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2937, allocations: 11.98 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.2938, allocations: 15.98 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2938, allocations: 7.922 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.432e-05/0.2939, allocations: 119.2 kB / 1.225 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2939, allocations: 0 / 1.225 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002524/0.2942, allocations: 19.94 kB / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005831/0.2948, allocations: 0.7517 MB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.295, allocations: 71.95 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2951, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2952, allocations: 35.92 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2955, allocations: 13.72 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.2974, allocations: 1.654 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.2977, allocations: 0.7007 MB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.958e-05/0.2978, allocations: 20.64 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.2979, allocations: 35.42 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.2979, allocations: 0 / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.3194, allocations: 2.668 MB / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.967, allocations: 11.94 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches