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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008842/0.0008843, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005124/0.005124, allocations: 170 kB / 16.26 MB, free: 6.613 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.589/2.589, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 12.66 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2795, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003379/0.2829, allocations: 2.896 MB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2848, allocations: 1.352 MB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2849, allocations: 4 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.2851, allocations: 43.64 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.2854, allocations: 143.3 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.2857, allocations: 139.6 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.2861, allocations: 462.7 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2865, allocations: 236.9 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2866, allocations: 119.5 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2869, allocations: 143.4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2869, allocations: 8 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.2872, allocations: 211.5 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.2873, allocations: 71.75 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2874, allocations: 129.2 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.2877, allocations: 355 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2878, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2878, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2878, allocations: 4 kB / 1.065 GB, free: 14.59 MB / 0.8262 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.0006871/0.2885, allocations: 0.503 MB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2885, allocations: 15.91 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.2886, allocations: 54.73 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/0.2891, allocations: 88.58 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.2894, allocations: 253.3 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2894, allocations: 12.81 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.2895, allocations: 24.38 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.2899, allocations: 316.4 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2899, allocations: 4 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.29, allocations: 4 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.29, allocations: 24.42 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.2904, allocations: 213.6 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2918, allocations: 1.498 MB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.2921, allocations: 207.6 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.2922, allocations: 48.83 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2923, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.2923, allocations: 42.56 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.2923, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005239/0.2928, allocations: 267.6 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.2929, allocations: 55.39 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.293, allocations: 215.6 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2931, allocations: 25.7 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.2932, allocations: 179.7 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.2932, allocations: 31.55 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2932, allocations: 21.7 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.2933, allocations: 322.8 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.2934, allocations: 47.97 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.2936, allocations: 109.9 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2938, allocations: 172.4 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2938, allocations: 8 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003463/0.2942, allocations: 214 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2942, allocations: 4 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2942, allocations: 4.281 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.2944, allocations: 36.78 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2945, allocations: 31.92 kB / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008697/0.2954, allocations: 1.335 MB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.2955, allocations: 19.81 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2955, allocations: 12 kB / 1.071 GB, free: 7.629 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.0001198/0.2956, allocations: 137.8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.2957, allocations: 27.83 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.2957, allocations: 17.41 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2957, allocations: 4 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2957, allocations: 3.938 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2958, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.2963, allocations: 491.1 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2963, allocations: 0 / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.2964, allocations: 19.94 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.2965, allocations: 24.84 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2965, allocations: 4 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/0.2973, allocations: 1.323 MB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2973, allocations: 3.938 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.2975, allocations: 232.3 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2976, allocations: 108.8 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2976, allocations: 4 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2978, allocations: 8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2978, allocations: 3.984 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2978, allocations: 4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001064/0.2979, allocations: 149.5 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2979, allocations: 0 / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003085/0.2983, allocations: 59.84 kB / 1.074 GB, free: 4.793 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.0004914/0.2988, allocations: 0.7794 MB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.2991, allocations: 230.5 kB / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2991, allocations: 0 / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.2993, allocations: 167.4 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2997, allocations: 49.58 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3018, allocations: 2.238 MB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3021, allocations: 0.7557 MB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.838e-05/0.3022, allocations: 25.53 kB / 1.078 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.3023, allocations: 63.42 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3023, allocations: 0 / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5682/0.8705, allocations: 3.658 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.8707, allocations: 224.7 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.428, allocations: 3.938 kB / 1.082 GB, free: 12.55 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