Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_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.007795/0.007795, allocations: 107 kB / 15.74 MB, free: 6.449 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.001277/0.001277, allocations: 197 kB / 16.67 MB, free: 6.355 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.34 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2793, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00477/0.2842, allocations: 3.209 MB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2865, allocations: 1.379 MB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2867, allocations: 8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.2879, allocations: 334.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.2883, allocations: 151.2 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.2888, allocations: 153.5 kB / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.2893, allocations: 330.6 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.2897, allocations: 254.5 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.29, allocations: 139.5 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.2904, allocations: 147.5 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.2904, allocations: 20 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.2908, allocations: 167.6 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2909, allocations: 83.73 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.291, allocations: 123.4 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.2916, allocations: 363.6 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2916, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2916, allocations: 4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.2916, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 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.001011/0.2926, allocations: 0.5341 MB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2927, allocations: 8.031 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.2928, allocations: 54.73 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.2934, allocations: 88.58 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.2938, allocations: 255.7 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2938, allocations: 12.81 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.2938, allocations: 28.3 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.2943, allocations: 316.5 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2944, allocations: 0 / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2944, allocations: 4 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.2944, allocations: 24.38 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.2948, allocations: 213.5 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2964, allocations: 1.49 MB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.2968, allocations: 199.7 kB / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.2969, allocations: 40.84 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2969, allocations: 4 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.297, allocations: 50.42 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.297, allocations: 0 / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005498/0.2975, allocations: 255.4 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2976, allocations: 55.41 kB / 1.098 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2978, allocations: 211.6 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2978, allocations: 29.7 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2979, allocations: 175.7 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.2979, allocations: 27.61 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.298, allocations: 33.66 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2981, allocations: 326.8 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.2982, allocations: 48.03 kB / 1.098 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2984, allocations: 112.5 kB / 1.099 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.2986, allocations: 172.4 kB / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2986, allocations: 0 / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003538/0.299, allocations: 218 kB / 1.099 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.299, allocations: 4 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.299, allocations: 4 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.2992, allocations: 32.72 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2993, allocations: 31.98 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.3004, allocations: 1.429 MB / 1.1 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.3005, allocations: 15.84 kB / 1.1 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3005, allocations: 8 kB / 1.1 GB, free: 4.109 MB / 0.8575 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.0001367/0.3007, allocations: 153.7 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.3007, allocations: 15.81 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.3008, allocations: 17.41 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3008, allocations: 0 / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3008, allocations: 4.062 kB / 1.101 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3008, allocations: 7.984 kB / 1.101 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006157/0.3014, allocations: 491.4 kB / 1.101 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3014, allocations: 0 / 1.101 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.3015, allocations: 12 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.276e-05/0.3016, allocations: 28.81 kB / 1.101 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3016, allocations: 0 / 1.101 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009709/0.3026, allocations: 1.429 MB / 1.102 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3026, allocations: 0 / 1.102 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3029, allocations: 240.1 kB / 1.103 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.303, allocations: 100.9 kB / 1.103 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.303, allocations: 3.984 kB / 1.103 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3032, allocations: 8.062 kB / 1.103 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3032, allocations: 7.984 kB / 1.103 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3032, allocations: 8 kB / 1.103 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001267/0.3034, allocations: 153.4 kB / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3034, allocations: 0 / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003434/0.3037, allocations: 55.84 kB / 1.103 GB, free: 1.16 MB / 0.8575 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.0005722/0.3043, allocations: 0.7678 MB / 1.104 GB, free: 368 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.3048, allocations: 230.5 kB / 1.104 GB, free: 124 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3048, allocations: 0.5625 kB / 1.104 GB, free: 124 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.305, allocations: 166.7 kB / 1.104 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3054, allocations: 35.38 kB / 1.104 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3079, allocations: 2.141 MB / 1.106 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.3084, allocations: 0.7553 MB / 1.107 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.3085, allocations: 29.53 kB / 1.107 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3087, allocations: 55.42 kB / 1.107 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.3087, allocations: 4 kB / 1.107 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.334, allocations: 4.08 MB / 1.111 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.419/9.753, allocations: 6.125 kB / 1.111 GB, free: 8.812 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches