Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 110.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] 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.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.88 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8148, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006116/0.8209, allocations: 3.89 MB / 1.217 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.8241, allocations: 1.766 MB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.8243, allocations: 10.62 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.8258, allocations: 497.9 kB / 1.219 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.8264, allocations: 229.7 kB / 1.219 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.827, allocations: 213.4 kB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.8276, allocations: 470.4 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/0.8281, allocations: 312.9 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.8284, allocations: 189.3 kB / 1.22 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.8288, allocations: 234.4 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.8288, allocations: 27.81 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.8293, allocations: 257.8 kB / 1.221 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.8294, allocations: 126.6 kB / 1.221 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.8296, allocations: 170.7 kB / 1.221 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006854/0.8303, allocations: 0.5031 MB / 1.222 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8303, allocations: 0 / 1.222 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8303, allocations: 0.9375 kB / 1.222 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.8303, allocations: 0 / 1.222 GB, free: 13.45 MB / 0.9356 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.001121/0.8314, allocations: 0.639 MB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8315, allocations: 9.344 kB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/0.8316, allocations: 74.83 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/0.8325, allocations: 134.5 kB / 1.222 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.8329, allocations: 293.1 kB / 1.223 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.833, allocations: 28.42 kB / 1.223 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.833, allocations: 31 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.8338, allocations: 469.1 kB / 1.223 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8338, allocations: 5.062 kB / 1.223 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.8338, allocations: 12.56 kB / 1.223 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.8339, allocations: 25.33 kB / 1.223 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.8344, allocations: 321.5 kB / 1.223 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.8367, allocations: 2.182 MB / 1.226 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.8371, allocations: 235.7 kB / 1.226 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.8373, allocations: 100.3 kB / 1.226 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.8373, allocations: 1.312 kB / 1.226 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.8374, allocations: 35.81 kB / 1.226 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.8374, allocations: 1.375 kB / 1.226 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006091/0.838, allocations: 304.8 kB / 1.226 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.838, allocations: 56.81 kB / 1.226 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.8383, allocations: 274 kB / 1.227 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.8383, allocations: 26.67 kB / 1.227 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.8385, allocations: 210.5 kB / 1.227 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.8385, allocations: 49.77 kB / 1.227 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.8386, allocations: 51.77 kB / 1.227 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8387, allocations: 340.5 kB / 1.227 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.8388, allocations: 58.06 kB / 1.227 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.839, allocations: 141.7 kB / 1.227 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.8392, allocations: 223.5 kB / 1.228 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8392, allocations: 0 / 1.228 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004133/0.8397, allocations: 260.7 kB / 1.228 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8397, allocations: 6.344 kB / 1.228 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8397, allocations: 6.891 kB / 1.228 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.8398, allocations: 26.53 kB / 1.228 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.84, allocations: 49.64 kB / 1.228 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.8413, allocations: 1.428 MB / 1.229 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.8415, allocations: 27.91 kB / 1.229 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.8415, allocations: 8.188 kB / 1.229 GB, free: 6.438 MB / 0.9356 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.0001868/0.8417, allocations: 175.3 kB / 1.23 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.8417, allocations: 27.66 kB / 1.23 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.8418, allocations: 28.55 kB / 1.23 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8418, allocations: 1.312 kB / 1.23 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8418, allocations: 1.406 kB / 1.23 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8418, allocations: 4.078 kB / 1.23 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.8428, allocations: 0.7043 MB / 1.23 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.8428, allocations: 0 / 1.23 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.8428, allocations: 27.92 kB / 1.23 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.014e-05/0.8429, allocations: 32.97 kB / 1.23 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.8429, allocations: 4 kB / 1.23 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.8441, allocations: 1.411 MB / 1.232 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8441, allocations: 4.031 kB / 1.232 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.8444, allocations: 309.3 kB / 1.232 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.8446, allocations: 128.8 kB / 1.232 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.8446, allocations: 0 / 1.232 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.8448, allocations: 19.94 kB / 1.232 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.8448, allocations: 23.86 kB / 1.232 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.8448, allocations: 8 kB / 1.232 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002158/0.845, allocations: 190 kB / 1.232 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.845, allocations: 0 / 1.232 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004194/0.8454, allocations: 71.89 kB / 1.232 GB, free: 3.188 MB / 0.9356 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.0007094/0.8461, allocations: 0.8613 MB / 1.233 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.8466, allocations: 270.3 kB / 1.234 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8466, allocations: 0 / 1.234 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.8469, allocations: 183.6 kB / 1.234 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.8473, allocations: 65.48 kB / 1.234 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.8507, allocations: 2.71 MB / 1.236 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.8511, allocations: 0.7986 MB / 1.237 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.8513, allocations: 42.25 kB / 1.237 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.8514, allocations: 79.42 kB / 1.237 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of SimCode: time 5.62e-07/0.8514, allocations: 0 / 1.237 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.8843, allocations: 5.434 MB / 1.243 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.09, allocations: 11.72 kB / 1.243 GB, free: 8.605 MB / 0.9512 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.83756051491946]