Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 189.9 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.571/2.571, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 67.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2705, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004676/0.2753, allocations: 3.232 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2774, allocations: 1.371 MB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2775, allocations: 8 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.2785, allocations: 338.6 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.2788, allocations: 143.2 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.2792, allocations: 147.6 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.2796, allocations: 330.9 kB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.28, allocations: 243.7 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2801, allocations: 143.5 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2804, allocations: 151.4 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2804, allocations: 24 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.2807, allocations: 171.6 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2808, allocations: 83.78 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2809, allocations: 123.4 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.2814, allocations: 354.7 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2814, allocations: 0 / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.717e-06/0.2814, allocations: 0 / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2814, allocations: 3.938 kB / 1.227 GB, free: 7.461 MB / 0.9825 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.0007571/0.2822, allocations: 0.5493 MB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.2822, allocations: 8.031 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.628e-05/0.2823, allocations: 54.73 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.2828, allocations: 84.67 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2831, allocations: 256 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2831, allocations: 16.81 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.2831, allocations: 20.38 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.2836, allocations: 312.4 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2836, allocations: 4 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2836, allocations: 7.984 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.2837, allocations: 32.36 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.284, allocations: 213.5 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2855, allocations: 1.49 MB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.2859, allocations: 203.7 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.286, allocations: 40.84 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.286, allocations: 0 / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.286, allocations: 38.56 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.286, allocations: 0 / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005174/0.2865, allocations: 267.4 kB / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2866, allocations: 51.41 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2868, allocations: 211.7 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2868, allocations: 25.7 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2869, allocations: 180 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.287, allocations: 27.75 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.287, allocations: 37.66 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2872, allocations: 330.8 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.2872, allocations: 43.97 kB / 1.231 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2874, allocations: 112.5 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.2876, allocations: 164.4 kB / 1.231 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2876, allocations: 0 / 1.231 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003567/0.288, allocations: 222.1 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.288, allocations: 5.875 kB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.288, allocations: 4.281 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.2882, allocations: 32.78 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2883, allocations: 31.92 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.2893, allocations: 1.429 MB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2895, allocations: 19.92 kB / 1.233 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2895, allocations: 8 kB / 1.233 GB, free: 384 kB / 0.9825 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.0001267/0.2896, allocations: 157.7 kB / 1.233 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.2897, allocations: 23.84 kB / 1.233 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2897, allocations: 17.41 kB / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2897, allocations: 0 / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2897, allocations: 0 / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2897, allocations: 7.938 kB / 1.233 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.2903, allocations: 487.6 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2903, allocations: 0 / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.2904, allocations: 12 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.106e-05/0.2905, allocations: 24.84 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.2905, allocations: 3.984 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009758/0.2915, allocations: 1.425 MB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2915, allocations: 0 / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.2918, allocations: 248.3 kB / 1.235 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.2919, allocations: 97 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2919, allocations: 4 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.292, allocations: 7.984 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.292, allocations: 4 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2921, allocations: 11.98 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2922, allocations: 153.4 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2922, allocations: 0 / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002931/0.2925, allocations: 55.89 kB / 1.236 GB, free: 13.41 MB / 0.9981 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.0005524/0.2931, allocations: 0.7761 MB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.2935, allocations: 234.6 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2935, allocations: 288 / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.2937, allocations: 162.7 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.294, allocations: 39.48 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.2962, allocations: 2.144 MB / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.2966, allocations: 0.7554 MB / 1.24 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.476e-05/0.2967, allocations: 21.53 kB / 1.24 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.2967, allocations: 63.42 kB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2968, allocations: 0 / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/1.97, allocations: 4.018 MB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/21.5, allocations: 20.14 kB / 1.244 GB, free: 5.113 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches