Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8465/0.8465, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.7/1.7, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.062e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003718/0.003739, allocations: 3.742 MB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005698, allocations: 1.69 MB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.005894, allocations: 7.938 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008394/0.006733, allocations: 493.9 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.007179, allocations: 242.6 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.00758, allocations: 218.8 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.008023, allocations: 482.2 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.008468, allocations: 297.3 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.008729, allocations: 279.3 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.009041, allocations: 187.5 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.009085, allocations: 32 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.009393, allocations: 231.3 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.009499, allocations: 127.6 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.009591, allocations: 123.8 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.01008, allocations: 0.5179 MB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01008, allocations: 4 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01008, allocations: 0 / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.01009, allocations: 0 / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007869/0.01088, allocations: 0.5634 MB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.01092, allocations: 8.75 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.01097, allocations: 74.7 kB / 1.009 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.01148, allocations: 136.6 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.01178, allocations: 229.3 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.0118, allocations: 25.02 kB / 1.009 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.01183, allocations: 28.38 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.01233, allocations: 0.5747 MB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01234, allocations: 192 / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.01237, allocations: 20.12 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.01241, allocations: 36.62 kB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.01275, allocations: 318.3 kB / 1.01 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.01406, allocations: 1.579 MB / 1.012 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.01432, allocations: 162.7 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.01448, allocations: 104.7 kB / 1.012 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.01449, allocations: 0 / 1.012 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.01451, allocations: 38.8 kB / 1.012 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.01451, allocations: 96 / 1.012 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004123/0.01492, allocations: 226.2 kB / 1.012 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.01495, allocations: 55.41 kB / 1.012 GB, free: 472 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.01515, allocations: 269.8 kB / 1.012 GB, free: 196 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.01517, allocations: 25.7 kB / 1.012 GB, free: 164 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01527, allocations: 216.4 kB / 1.013 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.0153, allocations: 55.53 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.01535, allocations: 45.94 kB / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.01544, allocations: 330.8 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.0155, allocations: 64.42 kB / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.0156, allocations: 143.9 kB / 1.013 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.01578, allocations: 221.2 kB / 1.013 GB, free: 15 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01578, allocations: 4 kB / 1.013 GB, free: 15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000276/0.01606, allocations: 262.1 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01607, allocations: 8 kB / 1.014 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01608, allocations: 0 / 1.014 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.01621, allocations: 24.84 kB / 1.014 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01632, allocations: 51.91 kB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.01706, allocations: 1.315 MB / 1.015 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01718, allocations: 35.67 kB / 1.015 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01719, allocations: 12 kB / 1.015 GB, free: 13.17 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.01731, allocations: 161.8 kB / 1.015 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.01734, allocations: 27.8 kB / 1.015 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.01736, allocations: 29.77 kB / 1.015 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.01737, allocations: 160 / 1.015 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01737, allocations: 4 kB / 1.015 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01737, allocations: 0 / 1.015 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.01795, allocations: 0.6046 MB / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01795, allocations: 4 kB / 1.016 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.018, allocations: 27.98 kB / 1.016 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.569e-05/0.01807, allocations: 33.02 kB / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01808, allocations: 8 kB / 1.016 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005956/0.01867, allocations: 1.31 MB / 1.017 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01868, allocations: 0 / 1.017 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.01889, allocations: 313.2 kB / 1.018 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.01895, allocations: 40.03 kB / 1.018 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.01897, allocations: 15.94 kB / 1.018 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.01906, allocations: 8 kB / 1.018 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.01908, allocations: 23.84 kB / 1.018 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01909, allocations: 8 kB / 1.018 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001222/0.01921, allocations: 185.2 kB / 1.018 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3e-08/0.01921, allocations: 0 / 1.018 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002748/0.01949, allocations: 75.89 kB / 1.018 GB, free: 10.07 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * 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: 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003905/0.01988, allocations: 0.8493 MB / 1.019 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.02023, allocations: 274.3 kB / 1.019 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.02024, allocations: 0 / 1.019 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.02035, allocations: 175.7 kB / 1.019 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.02068, allocations: 64.2 kB / 1.019 GB, free: 8.656 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.02277, allocations: 2.709 MB / 1.022 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.0229, allocations: 182.1 kB / 1.022 GB, free: 5.551 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.02301, allocations: 46.25 kB / 1.022 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.0231, allocations: 84.47 kB / 1.022 GB, free: 5.426 MB / 0.9792 GB Notification: Performance of SimCode: time 6.22e-07/0.0231, allocations: 0 / 1.022 GB, free: 5.426 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.04394, allocations: 6.243 MB / 1.028 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.081, allocations: 6.344 kB / 1.028 GB, free: 15.38 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.068493603728712]