Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.007704/0.007704, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001889/0.001889, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.603/2.603, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2818, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002986/0.2849, allocations: 2.028 MB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008934/0.2858, allocations: 0.5689 MB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.2859, allocations: 4 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.286, allocations: 27.66 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.2861, allocations: 35.61 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.2864, allocations: 79.89 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.2866, allocations: 231.9 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2868, allocations: 107.6 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2869, allocations: 99.62 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2871, allocations: 99.53 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.2871, allocations: 24 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.2872, allocations: 32 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.2873, allocations: 55.78 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.2873, allocations: 107.4 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.2876, allocations: 281.8 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2876, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2877, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2877, allocations: 0 / 1.17 GB, free: 3.543 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007191/0.2884, allocations: 0.5228 MB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2884, allocations: 8.031 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.2885, allocations: 50.73 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.2886, allocations: 28.66 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.2888, allocations: 248.7 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.2889, allocations: 20.16 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2889, allocations: 16.38 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.2893, allocations: 228.8 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2893, allocations: 0 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.2893, allocations: 8 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2893, allocations: 4 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.2896, allocations: 143.7 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.2905, allocations: 0.5934 MB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.2908, allocations: 118.7 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2909, allocations: 48.91 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.291, allocations: 4 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.291, allocations: 38.55 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.291, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004231/0.2914, allocations: 173.8 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.2915, allocations: 132.5 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2917, allocations: 215 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2917, allocations: 45.5 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.2918, allocations: 140.2 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2919, allocations: 27.64 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.2919, allocations: 37.7 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.292, allocations: 334.8 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.2922, allocations: 39.98 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2923, allocations: 84.27 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.2925, allocations: 97.75 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2925, allocations: 4 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002864/0.2928, allocations: 156.8 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2929, allocations: 4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2929, allocations: 4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2929, allocations: 3.938 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.293, allocations: 19.92 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.293, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2931, allocations: 39.84 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2932, allocations: 4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001181/0.2933, allocations: 131.6 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2933, allocations: 15.81 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.2937, allocations: 147 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2937, allocations: 3.938 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2937, allocations: 4 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2937, allocations: 4 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.294, allocations: 261.5 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.294, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.2941, allocations: 19.92 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2941, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2941, allocations: 8 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2941, allocations: 3.938 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2941, allocations: 3.984 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.2944, allocations: 231.3 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.2945, allocations: 96.91 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.2945, allocations: 4 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2947, allocations: 27.86 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.2947, allocations: 27.95 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2948, allocations: 4 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001098/0.2949, allocations: 156.7 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2949, allocations: 0 / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002551/0.2951, allocations: 39.84 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * 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.0005974/0.2957, allocations: 0.7746 MB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.296, allocations: 111.9 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.296, allocations: 0 / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2962, allocations: 51.92 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2965, allocations: 27.92 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.2986, allocations: 1.986 MB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2989, allocations: 0.7322 MB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.53e-05/0.299, allocations: 21.45 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.2991, allocations: 63.41 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2991, allocations: 0 / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.3214, allocations: 3.996 MB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.886, allocations: 15.08 kB / 1.182 GB, free: 6.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,temPro.TEva,temPro.TEvaMin,temPro.errLowPre,temPro.TCon,temPro.TConMax,temPro.errHigPre,temPro.errNegTemDif Variables in the result:TCon.amplitude,TCon.f,TCon.offset,TCon.phase,TCon.startTime,TCon.y,TEva.amplitude,TEva.f,TEva.offset,TEva.phase,TEva.startTime,TEva.y,one.k,one.y,temPro.TCon,temPro.TConMax,temPro.TEva,temPro.TEvaMin,temPro.dTHys,temPro.errHigPre,temPro.errLowPre,temPro.errNegTemDif,temPro.pre_y_start,temPro.u,temPro.y,time