Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.001522/0.001522, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.81 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2342, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002609/0.2368, allocations: 1.762 MB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.237, allocations: 79.69 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.237, allocations: 0 / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.2371, allocations: 11.86 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.2372, allocations: 23.8 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.824e-05/0.2372, allocations: 27.95 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2374, allocations: 107.7 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2375, allocations: 49.11 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.2376, allocations: 43.84 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.2376, allocations: 51.75 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.2377, allocations: 12 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.2377, allocations: 12 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2377, allocations: 19.92 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.2378, allocations: 55.72 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2379, allocations: 111.9 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2379, allocations: 4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2379, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2379, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 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.0005536/0.2385, allocations: 423.1 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2385, allocations: 8.625 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.2386, allocations: 42.73 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2386, allocations: 16.78 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2388, allocations: 202.3 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.2388, allocations: 8.375 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2388, allocations: 4.375 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.2392, allocations: 122.2 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2392, allocations: 7.875 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2392, allocations: 11.94 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2392, allocations: 4 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.2396, allocations: 123.8 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2401, allocations: 384.4 kB / 1.057 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.2404, allocations: 90.48 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.2406, allocations: 64.94 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2406, allocations: 0 / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2407, allocations: 38.48 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.2407, allocations: 0 / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006828/0.2414, allocations: 197.6 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.2414, allocations: 51.41 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.2415, allocations: 121.8 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2415, allocations: 25.7 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2416, allocations: 115.8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.2416, allocations: 27.64 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2416, allocations: 17.72 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.2417, allocations: 322.8 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2419, allocations: 39.95 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.2421, allocations: 60 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.2425, allocations: 108.7 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2425, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004232/0.2429, allocations: 141.6 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.243, allocations: 8 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.243, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.243, allocations: 3.938 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.2431, allocations: 27.97 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2431, allocations: 8 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2433, allocations: 19.88 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2433, allocations: 0 / 1.058 GB, free: 2.902 MB / 0.8106 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 (6): * Single equations (assignments): 6 * 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 7.172e-05/0.2433, allocations: 121.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2434, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.2434, allocations: 16.31 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2434, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2434, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2434, allocations: 4 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2436, allocations: 205.5 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2436, allocations: 7.938 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.2437, allocations: 23.97 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2438, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2438, allocations: 3.938 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2438, allocations: 0 / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2438, allocations: 192 / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.2442, allocations: 255.3 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2443, allocations: 81.05 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2443, allocations: 11.88 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2445, allocations: 23.97 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2445, allocations: 7.984 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2445, allocations: 0 / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.2446, allocations: 101.1 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2446, allocations: 0 / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002217/0.2448, allocations: 19.91 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0007202/0.2455, allocations: 0.767 MB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.246, allocations: 127.8 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.246, allocations: 0 / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.2462, allocations: 55.95 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2465, allocations: 15.97 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.2485, allocations: 1.584 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2487, allocations: 0.7041 MB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.2488, allocations: 3.984 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.2488, allocations: 31.42 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2488, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/1.381, allocations: 2.228 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/8.713, allocations: 2.625 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches