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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.201/3.201, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 62.78 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2759, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006894/0.2829, allocations: 3.274 MB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.2868, allocations: 1.36 MB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.2872, allocations: 7.938 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.2885, allocations: 318.9 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.2891, allocations: 139.4 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.2897, allocations: 135.7 kB / 1.058 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.2906, allocations: 330.9 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.2913, allocations: 271.9 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.2916, allocations: 143.5 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.292, allocations: 159.5 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.2921, allocations: 20 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.2925, allocations: 167.6 kB / 1.059 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.2926, allocations: 79.8 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.2928, allocations: 123.4 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.2935, allocations: 358.9 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2935, allocations: 3.938 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2935, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.2935, allocations: 4 kB / 1.059 GB, free: 1.746 MB / 0.8106 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.001294/0.2948, allocations: 0.5381 MB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2949, allocations: 8.625 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.357e-05/0.295, allocations: 62.66 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008887/0.2959, allocations: 80.58 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.2963, allocations: 251.9 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2963, allocations: 12.81 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.2964, allocations: 16.38 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.297, allocations: 320.4 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2971, allocations: 3.984 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.2971, allocations: 8 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.2972, allocations: 20.44 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.2977, allocations: 205.6 kB / 1.061 GB, free: 124 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.3001, allocations: 1.501 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.3007, allocations: 207.6 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3009, allocations: 44.84 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3009, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.301, allocations: 34.56 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.301, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0007799/0.3017, allocations: 267.3 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3018, allocations: 51.41 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3022, allocations: 215.6 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.3023, allocations: 33.64 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3024, allocations: 167.7 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.3024, allocations: 31.55 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.3025, allocations: 37.7 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002542/0.3028, allocations: 326.8 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3029, allocations: 47.97 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.3032, allocations: 114 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3035, allocations: 164.4 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3035, allocations: 4.062 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005635/0.3041, allocations: 214 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3041, allocations: 5.094 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3041, allocations: 4 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.3043, allocations: 33.06 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3045, allocations: 35.92 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.3061, allocations: 1.429 MB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.3064, allocations: 15.88 kB / 1.065 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3065, allocations: 12 kB / 1.065 GB, free: 10.68 MB / 0.8262 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.0002098/0.3067, allocations: 153.8 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.3067, allocations: 15.81 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3068, allocations: 17.41 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3068, allocations: 0 / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3068, allocations: 0 / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3068, allocations: 7.984 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3078, allocations: 483.2 kB / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3079, allocations: 0 / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.308, allocations: 20.03 kB / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.3081, allocations: 28.77 kB / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.3081, allocations: 4 kB / 1.066 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.3103, allocations: 1.43 MB / 1.067 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3104, allocations: 0 / 1.067 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.3108, allocations: 232.2 kB / 1.068 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3109, allocations: 100.9 kB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3109, allocations: 4 kB / 1.068 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3111, allocations: 7.984 kB / 1.068 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.3112, allocations: 11.92 kB / 1.068 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3112, allocations: 7.938 kB / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002578/0.3115, allocations: 149.5 kB / 1.068 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3115, allocations: 4 kB / 1.068 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005049/0.312, allocations: 55.84 kB / 1.068 GB, free: 7.73 MB / 0.8262 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.0009142/0.3129, allocations: 0.7669 MB / 1.069 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.3135, allocations: 234.5 kB / 1.069 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3135, allocations: 4 kB / 1.069 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3138, allocations: 158.7 kB / 1.069 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.3144, allocations: 36.48 kB / 1.069 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.3178, allocations: 2.222 MB / 1.071 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.3186, allocations: 0.7593 MB / 1.072 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00016/0.3188, allocations: 30.11 kB / 1.072 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3189, allocations: 59.41 kB / 1.072 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3189, allocations: 3.938 kB / 1.072 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.638/5.957, allocations: 3.839 MB / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/5.957, allocations: 229.6 kB / 1.076 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.689/9.646, allocations: 6.312 kB / 1.076 GB, free: 15.31 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches