Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.001396/0.001396, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.00141/0.00141, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.191 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.407/2.407, allocations: 443.5 MB / 0.7304 GB, free: 13.89 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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2687, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005134/0.2739, allocations: 3.338 MB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2762, allocations: 1.43 MB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.2764, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2774, allocations: 342.6 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.2779, allocations: 155.2 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.2783, allocations: 155.4 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.2787, allocations: 330.9 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.2791, allocations: 183.9 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.2793, allocations: 143.5 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.2797, allocations: 167.4 kB / 1.222 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.2797, allocations: 16 kB / 1.222 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.28, allocations: 171.6 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2801, allocations: 87.72 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2803, allocations: 119.4 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.2808, allocations: 358.7 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2808, allocations: 0 / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2808, allocations: 0 / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2808, allocations: 0 / 1.222 GB, free: 8.953 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009155/0.2817, allocations: 0.5454 MB / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2817, allocations: 12.03 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.2818, allocations: 58.72 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.2824, allocations: 80.67 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2827, allocations: 258.8 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.2827, allocations: 16.81 kB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.2827, allocations: 16.38 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.2832, allocations: 324.3 kB / 1.224 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2832, allocations: 0 / 1.224 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.2833, allocations: 12 kB / 1.224 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.2834, allocations: 20.42 kB / 1.224 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.2838, allocations: 209.6 kB / 1.224 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.2855, allocations: 1.486 MB / 1.225 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.2859, allocations: 203.6 kB / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.286, allocations: 44.83 kB / 1.225 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.286, allocations: 3.984 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.286, allocations: 34.56 kB / 1.226 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.286, allocations: 0 / 1.226 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005532/0.2866, allocations: 271.4 kB / 1.226 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2866, allocations: 51.41 kB / 1.226 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2868, allocations: 207.7 kB / 1.226 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2868, allocations: 33.7 kB / 1.226 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2869, allocations: 168.1 kB / 1.226 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.287, allocations: 35.72 kB / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.287, allocations: 45.66 kB / 1.226 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2872, allocations: 322.8 kB / 1.227 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2873, allocations: 43.97 kB / 1.227 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2874, allocations: 112.5 kB / 1.227 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.2877, allocations: 172.4 kB / 1.227 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2877, allocations: 0 / 1.227 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003717/0.288, allocations: 206.1 kB / 1.227 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.288, allocations: 12.28 kB / 1.227 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.288, allocations: 0 / 1.227 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.2882, allocations: 36.77 kB / 1.227 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2883, allocations: 31.92 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.2894, allocations: 1.429 MB / 1.229 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2896, allocations: 23.83 kB / 1.229 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2896, allocations: 4 kB / 1.229 GB, free: 1.875 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 (18): * Single equations (assignments): 17 * 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.0001334/0.2897, allocations: 153.9 kB / 1.229 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.2898, allocations: 15.91 kB / 1.229 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.2898, allocations: 25.33 kB / 1.229 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2898, allocations: 0 / 1.229 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2898, allocations: 0 / 1.229 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2898, allocations: 0 / 1.229 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.2904, allocations: 487.5 kB / 1.229 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2904, allocations: 4 kB / 1.229 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.2905, allocations: 11.98 kB / 1.229 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.082e-05/0.2906, allocations: 28.78 kB / 1.229 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2906, allocations: 0 / 1.229 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.2916, allocations: 1.425 MB / 1.231 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2916, allocations: 8.016 kB / 1.231 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.2919, allocations: 240.2 kB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.292, allocations: 104.9 kB / 1.231 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.292, allocations: 96 / 1.231 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2922, allocations: 11.92 kB / 1.231 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.2922, allocations: 8 kB / 1.231 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2922, allocations: 4 kB / 1.231 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001336/0.2923, allocations: 148.2 kB / 1.231 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2923, allocations: 4 kB / 1.231 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003125/0.2926, allocations: 55.89 kB / 1.231 GB, free: 14.92 MB / 0.9825 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 (7): * Single equations (assignments): 6 * 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.0005931/0.2932, allocations: 0.7662 MB / 1.232 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.2937, allocations: 234.5 kB / 1.232 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2937, allocations: 0 / 1.232 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.2939, allocations: 158.6 kB / 1.232 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2942, allocations: 42.53 kB / 1.232 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2967, allocations: 2.135 MB / 1.235 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2971, allocations: 0.7554 MB / 1.235 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.427e-05/0.2972, allocations: 29.53 kB / 1.235 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.2973, allocations: 59.41 kB / 1.235 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.2973, allocations: 0 / 1.235 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3264, allocations: 4.029 MB / 1.239 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.68/9.007, allocations: 2.344 kB / 1.239 GB, free: 6.621 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.V in file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.32427910700062]