Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.0007812/0.0007812, 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.0008101/0.0008101, 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.8702/0.8702, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.712/1.712, 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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.975e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004496/0.004516, allocations: 3.173 MB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.006943, allocations: 1.39 MB / 0.9854 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.007103, allocations: 7.938 kB / 0.9854 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.007887, allocations: 330.6 kB / 0.9857 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.008273, allocations: 155 kB / 0.9859 GB, free: 13.57 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.008614, allocations: 178.5 kB / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.008966, allocations: 338.7 kB / 0.9864 GB, free: 13.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.009341, allocations: 192.1 kB / 0.9865 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.009619, allocations: 203.4 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.009852, allocations: 139.6 kB / 0.9869 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.009887, allocations: 20 kB / 0.9869 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.01011, allocations: 155.6 kB / 0.987 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.01019, allocations: 91.72 kB / 0.9871 GB, free: 12.28 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.01027, allocations: 83.77 kB / 0.9872 GB, free: 12.2 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.01068, allocations: 374.9 kB / 0.9876 GB, free: 11.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.01068, allocations: 7.984 kB / 0.9876 GB, free: 11.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01068, allocations: 0 / 0.9876 GB, free: 11.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.01069, allocations: 3.938 kB / 0.9876 GB, free: 11.82 MB / 0.948 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.0007274/0.01142, allocations: 477.4 kB / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01146, allocations: 12.03 kB / 0.988 GB, free: 11.31 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.604e-05/0.01151, allocations: 58.72 kB / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/0.012, allocations: 88.72 kB / 0.9882 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.01229, allocations: 202 kB / 0.9884 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.01231, allocations: 12.88 kB / 0.9884 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.01234, allocations: 24.38 kB / 0.9884 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.0128, allocations: 390.8 kB / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01281, allocations: 192 / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.01284, allocations: 12.12 kB / 0.9888 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.01287, allocations: 28.42 kB / 0.9888 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.01317, allocations: 213.8 kB / 0.989 GB, free: 10.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01429, allocations: 1.054 MB / 0.9901 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.01461, allocations: 130.5 kB / 0.9902 GB, free: 8.961 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.01468, allocations: 44.83 kB / 0.9902 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.0147, allocations: 0 / 0.9902 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01472, allocations: 34.56 kB / 0.9903 GB, free: 8.871 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.01472, allocations: 0 / 0.9903 GB, free: 8.871 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0004219/0.01514, allocations: 182.6 kB / 0.9904 GB, free: 8.684 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.01517, allocations: 51.41 kB / 0.9905 GB, free: 8.621 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.01534, allocations: 211 kB / 0.9907 GB, free: 8.406 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.01536, allocations: 33.64 kB / 0.9907 GB, free: 8.367 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.01545, allocations: 179.9 kB / 0.9909 GB, free: 8.188 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.01547, allocations: 35.72 kB / 0.9909 GB, free: 8.152 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.01552, allocations: 37.67 kB / 0.991 GB, free: 8.109 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01562, allocations: 330.8 kB / 0.9913 GB, free: 7.777 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.0157, allocations: 43.98 kB / 0.9913 GB, free: 7.734 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.01581, allocations: 114.4 kB / 0.9914 GB, free: 7.594 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.01599, allocations: 164.4 kB / 0.9916 GB, free: 7.402 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.016, allocations: 4 kB / 0.9916 GB, free: 7.398 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003061/0.0163, allocations: 210.1 kB / 0.9918 GB, free: 7.184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01632, allocations: 8 kB / 0.9918 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01632, allocations: 0 / 0.9918 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.01646, allocations: 28.84 kB / 0.9918 GB, free: 7.145 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.01656, allocations: 32.27 kB / 0.9918 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.01765, allocations: 1.33 MB / 0.9931 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.01774, allocations: 19.83 kB / 0.9932 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01776, allocations: 11.98 kB / 0.9932 GB, free: 5.637 MB / 0.948 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.0001101/0.01787, allocations: 141.9 kB / 0.9933 GB, free: 5.488 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.0179, allocations: 27.84 kB / 0.9933 GB, free: 5.461 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.01793, allocations: 21.45 kB / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.01793, allocations: 0 / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01793, allocations: 0 / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.01793, allocations: 0 / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/0.01882, allocations: 454.3 kB / 0.9938 GB, free: 4.941 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01882, allocations: 4 kB / 0.9938 GB, free: 4.938 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.01886, allocations: 8 kB / 0.9938 GB, free: 4.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.01893, allocations: 32.78 kB / 0.9938 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.01894, allocations: 3.984 kB / 0.9938 GB, free: 4.891 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007269/0.01967, allocations: 1.306 MB / 0.9951 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01967, allocations: 3.984 kB / 0.9951 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.02002, allocations: 232.2 kB / 0.9953 GB, free: 3.219 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.02006, allocations: 24.05 kB / 0.9954 GB, free: 3.195 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.02008, allocations: 4 kB / 0.9954 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.02016, allocations: 7.984 kB / 0.9954 GB, free: 3.184 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.0202, allocations: 11.98 kB / 0.9954 GB, free: 3.172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.02021, allocations: 7.984 kB / 0.9954 GB, free: 3.164 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001004/0.02031, allocations: 152.3 kB / 0.9955 GB, free: 3.016 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.02031, allocations: 0 / 0.9955 GB, free: 3.016 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003127/0.02062, allocations: 55.89 kB / 0.9956 GB, free: 2.961 MB / 0.948 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.0004359/0.02106, allocations: 0.7795 MB / 0.9964 GB, free: 2.152 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.0214, allocations: 226.5 kB / 0.9966 GB, free: 1.918 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0214, allocations: 0 / 0.9966 GB, free: 1.918 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.02153, allocations: 162.6 kB / 0.9967 GB, free: 1.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.02187, allocations: 39.45 kB / 0.9968 GB, free: 1.711 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.02411, allocations: 2.157 MB / 0.9989 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.02424, allocations: 148.2 kB / 0.999 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.505e-05/0.02433, allocations: 25.86 kB / 0.999 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.0244, allocations: 56.48 kB / 0.9991 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.0244, allocations: 0 / 0.9991 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.04387, allocations: 4.852 MB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.335, allocations: 6.5 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.478259166702628]