Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001691/0.001691, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001859/0.001859, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.528/1.528, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.622/2.622, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 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.Lines.Examples.Resistance,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.88 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3183, allocations: 160.7 MB / 1.213 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004715/0.323, allocations: 3.105 MB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3251, allocations: 1.367 MB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3253, allocations: 8 kB / 1.217 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3263, allocations: 330.7 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3266, allocations: 151.3 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.3269, allocations: 135.6 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.3273, allocations: 310.9 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.3277, allocations: 192.5 kB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.3278, allocations: 123.6 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3281, allocations: 143.5 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3281, allocations: 16 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.3284, allocations: 175.6 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.3285, allocations: 83.73 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3286, allocations: 115.4 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.329, allocations: 334.8 kB / 1.219 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.329, allocations: 0 / 1.219 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.329, allocations: 4 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.329, allocations: 0 / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008208/0.3298, allocations: 0.5143 MB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3299, allocations: 12.03 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.3299, allocations: 62.66 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.3305, allocations: 76.72 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.3308, allocations: 245.9 kB / 1.22 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3308, allocations: 20.75 kB / 1.22 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.3309, allocations: 16.38 kB / 1.22 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.3313, allocations: 307.3 kB / 1.22 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3313, allocations: 7.922 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3314, allocations: 11.98 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.3314, allocations: 12.38 kB / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.3317, allocations: 200.7 kB / 1.221 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.3332, allocations: 1.452 MB / 1.222 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3335, allocations: 175.7 kB / 1.222 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.3336, allocations: 28.84 kB / 1.222 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.3336, allocations: 0 / 1.222 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3336, allocations: 38.56 kB / 1.222 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3336, allocations: 0 / 1.222 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004709/0.3341, allocations: 227.6 kB / 1.223 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3341, allocations: 55.41 kB / 1.223 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3343, allocations: 207 kB / 1.223 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3343, allocations: 25.7 kB / 1.223 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3344, allocations: 164 kB / 1.223 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3345, allocations: 31.73 kB / 1.223 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.3345, allocations: 33.72 kB / 1.223 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3347, allocations: 326.8 kB / 1.223 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.3347, allocations: 39.97 kB / 1.223 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3348, allocations: 102.5 kB / 1.224 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.335, allocations: 152.3 kB / 1.224 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.335, allocations: 0 / 1.224 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003077/0.3353, allocations: 198.2 kB / 1.224 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3353, allocations: 4 kB / 1.224 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3353, allocations: 4 kB / 1.224 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.3355, allocations: 20.84 kB / 1.224 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3356, allocations: 32.2 kB / 1.224 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3367, allocations: 1.434 MB / 1.225 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3369, allocations: 15.84 kB / 1.225 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3369, allocations: 12 kB / 1.225 GB, free: 4.047 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001376/0.337, allocations: 145.8 kB / 1.225 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.337, allocations: 7.953 kB / 1.225 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.3371, allocations: 17.41 kB / 1.226 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3371, allocations: 7.938 kB / 1.226 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3371, allocations: 64 / 1.226 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3371, allocations: 7.984 kB / 1.226 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.3376, allocations: 447.2 kB / 1.226 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3376, allocations: 8 kB / 1.226 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.3377, allocations: 7.984 kB / 1.226 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-05/0.3377, allocations: 28.78 kB / 1.226 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3378, allocations: 0 / 1.226 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3388, allocations: 1.414 MB / 1.227 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3388, allocations: 4.062 kB / 1.227 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.339, allocations: 212.2 kB / 1.228 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.3391, allocations: 97 kB / 1.228 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3391, allocations: 4 kB / 1.228 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3393, allocations: 7.984 kB / 1.228 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3393, allocations: 4 kB / 1.228 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3393, allocations: 4 kB / 1.228 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001288/0.3394, allocations: 144.4 kB / 1.228 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3394, allocations: 0 / 1.228 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003141/0.3397, allocations: 51.89 kB / 1.228 GB, free: 1.199 MB / 0.9669 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): 5 * 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.000546/0.3403, allocations: 0.7483 MB / 1.229 GB, free: 428 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3406, allocations: 214.5 kB / 1.229 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3406, allocations: 0 / 1.229 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3408, allocations: 146.6 kB / 1.229 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3411, allocations: 40.47 kB / 1.229 GB, free: 0 / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3433, allocations: 2.044 MB / 1.231 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3437, allocations: 0.7513 MB / 1.232 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.303e-05/0.3438, allocations: 21.92 kB / 1.232 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.3439, allocations: 55.42 kB / 1.232 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3439, allocations: 0 / 1.232 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3722, allocations: 3.755 MB / 1.235 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.42, allocations: 0.7031 kB / 1.235 GB, free: 9.352 MB / 0.9825 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.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.528804008848965]