Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008521/0.0008521, 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.0009839/0.0009839, allocations: 170.3 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.8877/0.8877, allocations: 177.1 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.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.66 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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.504e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003339/0.003364, allocations: 3.17 MB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.005004, allocations: 1.375 MB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.005164, allocations: 11.94 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.005855, allocations: 334.6 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.006193, allocations: 158.9 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.006548, allocations: 163.5 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.006883, allocations: 346.6 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.007243, allocations: 196 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.00751, allocations: 195.5 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.007734, allocations: 139.6 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.007763, allocations: 20 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.007998, allocations: 163.5 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.008081, allocations: 99.7 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.008151, allocations: 79.83 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.008522, allocations: 366.9 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.008527, allocations: 0 / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.008528, allocations: 4 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.008536, allocations: 0 / 1.006 GB, free: 6.699 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006583/0.009195, allocations: 485.3 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.009231, allocations: 12.75 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.009276, allocations: 54.73 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.009635, allocations: 96.66 kB / 1.007 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.009887, allocations: 198.1 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.009902, allocations: 16.88 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.009924, allocations: 20.38 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.01031, allocations: 390.8 kB / 1.007 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01032, allocations: 4.172 kB / 1.007 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01034, allocations: 16.12 kB / 1.007 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.01037, allocations: 12.5 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.01061, allocations: 209.8 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.01157, allocations: 1.077 MB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.01183, allocations: 122.5 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.01189, allocations: 40.83 kB / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.0119, allocations: 4 kB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.01192, allocations: 34.62 kB / 1.009 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.01192, allocations: 4 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003374/0.01226, allocations: 186.3 kB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.01228, allocations: 55.39 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01242, allocations: 215 kB / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.01244, allocations: 25.7 kB / 1.009 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.01251, allocations: 172 kB / 1.01 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.01253, allocations: 35.72 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.01257, allocations: 41.7 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.01268, allocations: 334.7 kB / 1.01 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.01274, allocations: 43.97 kB / 1.01 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.01283, allocations: 108.5 kB / 1.01 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01297, allocations: 168.4 kB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01297, allocations: 0 / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002154/0.01319, allocations: 210.1 kB / 1.01 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.0132, allocations: 6.156 kB / 1.01 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01321, allocations: 8 kB / 1.01 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.01333, allocations: 24.84 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.01341, allocations: 39.91 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007339/0.01414, allocations: 1.315 MB / 1.012 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.01422, allocations: 28.03 kB / 1.012 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01423, allocations: 8 kB / 1.012 GB, free: 0.5078 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 (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 8.783e-05/0.01432, allocations: 149.7 kB / 1.012 GB, free: 360 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.01434, allocations: 19.84 kB / 1.012 GB, free: 340 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.01436, allocations: 21.45 kB / 1.012 GB, free: 312 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01437, allocations: 3.984 kB / 1.012 GB, free: 308 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01437, allocations: 4 kB / 1.012 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.01437, allocations: 0 / 1.012 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.01487, allocations: 446.3 kB / 1.012 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01487, allocations: 3.938 kB / 1.012 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.0149, allocations: 15.98 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-05/0.01496, allocations: 20.84 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01497, allocations: 4 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005718/0.01554, allocations: 1.326 MB / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01554, allocations: 96 / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.01572, allocations: 236.2 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.01576, allocations: 31.77 kB / 1.014 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.01577, allocations: 0 / 1.014 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.01584, allocations: 8 kB / 1.014 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01587, allocations: 7.984 kB / 1.014 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.01587, allocations: 0 / 1.014 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.404e-05/0.01596, allocations: 148.4 kB / 1.014 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01596, allocations: 4.062 kB / 1.014 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002318/0.01619, allocations: 63.84 kB / 1.014 GB, free: 13.81 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 (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.0003643/0.01656, allocations: 0.775 MB / 1.015 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.01687, allocations: 227 kB / 1.015 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01687, allocations: 0 / 1.015 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.01698, allocations: 154.7 kB / 1.015 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01725, allocations: 36.75 kB / 1.015 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.01909, allocations: 2.145 MB / 1.018 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01919, allocations: 148.1 kB / 1.018 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.01928, allocations: 25.45 kB / 1.018 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.01935, allocations: 64.47 kB / 1.018 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of SimCode: time 9.82e-07/0.01935, allocations: 4 kB / 1.018 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.04098, allocations: 4.832 MB / 1.022 GB, free: 5.379 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.229, allocations: 2.438 kB / 1.022 GB, free: 5.379 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_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_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.319247622042894]