Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008471/0.0008471, 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.001082/0.001082, allocations: 169.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.9213/0.9213, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.9809 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.493e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00361/0.003635, allocations: 3.74 MB / 0.9846 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.005453, allocations: 1.69 MB / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.005597, allocations: 7.938 kB / 0.9862 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.006384, allocations: 0.4971 MB / 0.9867 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.006973, allocations: 230.7 kB / 0.987 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.007328, allocations: 223.2 kB / 0.9872 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.007688, allocations: 482.2 kB / 0.9876 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.008079, allocations: 293.4 kB / 0.9879 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.008294, allocations: 279.3 kB / 0.9882 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.008595, allocations: 191.5 kB / 0.9884 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.008627, allocations: 31.98 kB / 0.9884 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.00889, allocations: 223.3 kB / 0.9886 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.008984, allocations: 135.6 kB / 0.9887 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.00907, allocations: 119.8 kB / 0.9888 GB, free: 9.328 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.009492, allocations: 0.5179 MB / 0.9893 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.009496, allocations: 4 kB / 0.9894 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/0.009498, allocations: 0 / 0.9894 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.009503, allocations: 0 / 0.9894 GB, free: 8.805 MB / 0.9011 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.0007057/0.01021, allocations: 0.5557 MB / 0.9899 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.01025, allocations: 11.97 kB / 0.9899 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.0103, allocations: 66.72 kB / 0.99 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.01078, allocations: 140.6 kB / 0.9901 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.01106, allocations: 241.7 kB / 0.9903 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.01107, allocations: 24.97 kB / 0.9904 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.0111, allocations: 32.38 kB / 0.9904 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.01158, allocations: 0.5787 MB / 0.991 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.0116, allocations: 4.125 kB / 0.991 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.01162, allocations: 16.12 kB / 0.991 GB, free: 7.016 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.01166, allocations: 28.64 kB / 0.991 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.01198, allocations: 318.3 kB / 0.9913 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.0132, allocations: 1.571 MB / 0.9928 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.01345, allocations: 162.7 kB / 0.993 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.0136, allocations: 100.7 kB / 0.9931 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.01361, allocations: 0 / 0.9931 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.01364, allocations: 42.56 kB / 0.9931 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.01364, allocations: 0 / 0.9931 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14): time 0.0003934/0.01403, allocations: 216.8 kB / 0.9933 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.01406, allocations: 55.41 kB / 0.9934 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01425, allocations: 277.7 kB / 0.9937 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.01427, allocations: 29.7 kB / 0.9937 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.01449, allocations: 208.3 kB / 0.9939 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.01452, allocations: 51.58 kB / 0.9939 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.01457, allocations: 49.89 kB / 0.994 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.01465, allocations: 342.8 kB / 0.9943 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.01472, allocations: 56.44 kB / 0.9944 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.01481, allocations: 145.2 kB / 0.9945 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.01499, allocations: 223.1 kB / 0.9947 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01499, allocations: 4 kB / 0.9947 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002677/0.01526, allocations: 254.4 kB / 0.995 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01527, allocations: 15.97 kB / 0.995 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01528, allocations: 0 / 0.995 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.01541, allocations: 32.83 kB / 0.995 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01552, allocations: 43.92 kB / 0.995 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007223/0.01624, allocations: 1.322 MB / 0.9963 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.666e-05/0.01634, allocations: 23.84 kB / 0.9964 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.01635, allocations: 8.062 kB / 0.9964 GB, free: 1.133 MB / 0.9011 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.0001208/0.01647, allocations: 169.7 kB / 0.9965 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.01651, allocations: 35.78 kB / 0.9966 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.01653, allocations: 33.77 kB / 0.9966 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01653, allocations: 0 / 0.9966 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01654, allocations: 96 / 0.9966 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01654, allocations: 11.86 kB / 0.9966 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.0171, allocations: 0.5969 MB / 0.9972 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01711, allocations: 4 kB / 0.9972 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.01715, allocations: 27.92 kB / 0.9972 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.439e-05/0.01722, allocations: 20.84 kB / 0.9972 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01723, allocations: 8 kB / 0.9972 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006036/0.01783, allocations: 1.315 MB / 0.9985 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01783, allocations: 0 / 0.9985 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.01804, allocations: 316 kB / 0.9988 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.0181, allocations: 39.78 kB / 0.9989 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.01811, allocations: 4 kB / 0.9989 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.0182, allocations: 16.16 kB / 0.9989 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.01823, allocations: 15.91 kB / 0.9989 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01824, allocations: 8 kB / 0.9989 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001155/0.01835, allocations: 189.2 kB / 0.9991 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01835, allocations: 0 / 0.9991 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002629/0.01862, allocations: 83.78 kB / 0.9992 GB, free: 14.03 MB / 0.9167 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.0003829/0.019, allocations: 0.8391 MB / 1 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.01932, allocations: 266.4 kB / 1 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.01932, allocations: 0 / 1 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.01943, allocations: 182.5 kB / 1 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.01976, allocations: 63.91 kB / 1 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.02191, allocations: 2.71 MB / 1.003 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.02203, allocations: 190.1 kB / 1.003 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.02213, allocations: 42.25 kB / 1.003 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.02222, allocations: 92.47 kB / 1.003 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.02222, allocations: 0 / 1.003 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.04393, allocations: 6.241 MB / 1.01 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.309, allocations: 11.5 kB / 1.01 GB, free: 3.34 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.426790501922369]