Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.0008425/0.0008425, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008621/0.0008621, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8987/0.8987, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.734/1.734, 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.Lines.Examples.Resistance,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.214e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003225/0.003237, allocations: 3.036 MB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004572, allocations: 1.309 MB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.004671, allocations: 7.938 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.005247, allocations: 334.6 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.005478, allocations: 151.1 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.005668, allocations: 134.3 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.005913, allocations: 322.7 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.006212, allocations: 176.7 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.006358, allocations: 183.5 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.006565, allocations: 131.6 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.006591, allocations: 20 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.006743, allocations: 147.6 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.006816, allocations: 87.72 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.00688, allocations: 79.83 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.007171, allocations: 346.9 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.007173, allocations: 0 / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.22e-07/0.007173, allocations: 0 / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.007178, allocations: 0 / 1.006 GB, free: 7.074 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000531/0.007708, allocations: 463.5 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.007745, allocations: 12.75 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.007788, allocations: 54.72 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.008084, allocations: 80.72 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.008289, allocations: 185.5 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.008306, allocations: 16.75 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.008326, allocations: 16.38 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.00864, allocations: 377.3 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.008648, allocations: 192 / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.008666, allocations: 12.12 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.008691, allocations: 16.36 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.008897, allocations: 200.9 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.009971, allocations: 1.024 MB / 1.008 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.01013, allocations: 94.61 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.01017, allocations: 32.78 kB / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.01017, allocations: 0 / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.01019, allocations: 34.56 kB / 1.008 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.01019, allocations: 0 / 1.008 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002993/0.01049, allocations: 146.3 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.01051, allocations: 59.41 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.01064, allocations: 201.9 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01065, allocations: 29.7 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.01072, allocations: 168.2 kB / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.01074, allocations: 31.73 kB / 1.009 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.01077, allocations: 29.7 kB / 1.009 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.01085, allocations: 338.6 kB / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.01089, allocations: 31.98 kB / 1.009 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.01096, allocations: 106.5 kB / 1.01 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.01107, allocations: 152.5 kB / 1.01 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01107, allocations: 4 kB / 1.01 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00019/0.01126, allocations: 190.2 kB / 1.01 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01128, allocations: 8 kB / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01128, allocations: 0 / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.0114, allocations: 24.84 kB / 1.01 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.01146, allocations: 27.94 kB / 1.01 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006614/0.01213, allocations: 1.319 MB / 1.011 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.01219, allocations: 19.78 kB / 1.011 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01219, allocations: 12 kB / 1.011 GB, free: 1.188 MB / 0.9636 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 9.155e-05/0.01229, allocations: 141.8 kB / 1.011 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.01231, allocations: 15.89 kB / 1.011 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.01232, allocations: 21.45 kB / 1.011 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-07/0.01232, allocations: 0 / 1.011 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01232, allocations: 0 / 1.011 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01233, allocations: 8.094 kB / 1.011 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.01263, allocations: 406.3 kB / 1.012 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01263, allocations: 0 / 1.012 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.01265, allocations: 8 kB / 1.012 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.67e-05/0.0127, allocations: 20.84 kB / 1.012 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.01271, allocations: 4 kB / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005516/0.01326, allocations: 1.314 MB / 1.013 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01326, allocations: 96 / 1.013 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.01339, allocations: 220.1 kB / 1.013 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.01342, allocations: 23.88 kB / 1.013 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.01342, allocations: 0 / 1.013 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.01348, allocations: 4 kB / 1.013 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.0135, allocations: 11.98 kB / 1.013 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.0135, allocations: 0 / 1.013 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.616e-05/0.01358, allocations: 147.4 kB / 1.013 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01358, allocations: 8.031 kB / 1.014 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001939/0.01377, allocations: 55.84 kB / 1.014 GB, free: 14.6 MB / 0.9792 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.0002763/0.01405, allocations: 0.7366 MB / 1.014 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004658/0.01452, allocations: 202.5 kB / 1.014 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01452, allocations: 4.562 kB / 1.014 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.01459, allocations: 150.7 kB / 1.015 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01482, allocations: 28.62 kB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.0162, allocations: 2.044 MB / 1.017 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.01631, allocations: 139.8 kB / 1.017 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.704e-05/0.01637, allocations: 25.47 kB / 1.017 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.01644, allocations: 52.48 kB / 1.017 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of SimCode: time 7.72e-07/0.01644, allocations: 0 / 1.017 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.03664, allocations: 4.503 MB / 1.021 GB, free: 6.684 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.094, allocations: 6.297 kB / 1.021 GB, free: 6.68 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_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_Lines_Examples_Resistance.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.173021499998868]