Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 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.001161/0.001161, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.41 kB / 0.9083 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2797, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003934/0.2837, allocations: 2.434 MB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2861, allocations: 1.581 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2863, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.287, allocations: 167.3 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.2874, allocations: 151.3 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.2879, allocations: 187.5 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.2882, allocations: 223.3 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.2884, allocations: 121 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2886, allocations: 79.69 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2888, allocations: 107.6 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.2889, allocations: 12 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.2892, allocations: 207.6 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.2893, allocations: 63.86 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.2894, allocations: 79.55 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.2898, allocations: 303.4 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2899, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2899, allocations: 4 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2899, allocations: 0 / 1.069 GB, free: 8.824 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006873/0.2906, allocations: 483.1 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2906, allocations: 8.031 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.2907, allocations: 50.73 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.2915, allocations: 88.64 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2917, allocations: 228 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2918, allocations: 12.66 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.2918, allocations: 16.36 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.2923, allocations: 295.4 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2923, allocations: 7.844 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2923, allocations: 8 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.2924, allocations: 16.22 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.2928, allocations: 224.4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.2945, allocations: 1.599 MB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.2949, allocations: 315.3 kB / 1.072 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.295, allocations: 69.66 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2951, allocations: 4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2951, allocations: 34.5 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2951, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005416/0.2956, allocations: 244.7 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2957, allocations: 81.17 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.2959, allocations: 203.4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.296, allocations: 33.7 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2961, allocations: 151.8 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2961, allocations: 35.48 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.2962, allocations: 57.59 kB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2963, allocations: 330.8 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2965, allocations: 80.81 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2967, allocations: 160.7 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.297, allocations: 234.9 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.297, allocations: 0 / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004896/0.2975, allocations: 277.1 kB / 1.074 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2976, allocations: 8 kB / 1.074 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2976, allocations: 0 / 1.074 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2976, allocations: 8.312 kB / 1.074 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.2979, allocations: 59.89 kB / 1.074 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2979, allocations: 4 kB / 1.074 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2981, allocations: 23.97 kB / 1.074 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2982, allocations: 8 kB / 1.074 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001978/0.2984, allocations: 168.1 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001933/0.2986, allocations: 164.8 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002735/0.2989, allocations: 219.8 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.2989, allocations: 0 / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004476/0.2993, allocations: 257.1 kB / 1.075 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.2993, allocations: 8 kB / 1.075 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2993, allocations: 4 kB / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.2994, allocations: 4 kB / 1.075 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.2996, allocations: 55.83 kB / 1.075 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2996, allocations: 4 kB / 1.075 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.2998, allocations: 24.33 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.2998, allocations: 8 kB / 1.075 GB, free: 1.969 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.3, allocations: 201.9 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.3, allocations: 15.81 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3003, allocations: 147 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3003, allocations: 3.938 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3003, allocations: 4.125 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3003, allocations: 11.94 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.3012, allocations: 0.716 MB / 1.076 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3012, allocations: 4 kB / 1.076 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3013, allocations: 23.98 kB / 1.076 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3013, allocations: 4 kB / 1.076 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3013, allocations: 7.938 kB / 1.076 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3013, allocations: 7.922 kB / 1.076 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3013, allocations: 4 kB / 1.076 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3016, allocations: 382.3 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.3017, allocations: 104.9 kB / 1.077 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.3018, allocations: 7.984 kB / 1.077 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.302, allocations: 7.984 kB / 1.077 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.302, allocations: 19.88 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.302, allocations: 4 kB / 1.077 GB, free: 156 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001867/0.3022, allocations: 161.2 kB / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3e-07/0.3022, allocations: 0 / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005489/0.3028, allocations: 71.94 kB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006181/0.3034, allocations: 0.9181 MB / 1.078 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.304, allocations: 280.7 kB / 1.078 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.304, allocations: 384 / 1.078 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.3041, allocations: 63.84 kB / 1.078 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.3046, allocations: 35.72 kB / 1.078 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.3073, allocations: 2.352 MB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3076, allocations: 0.7363 MB / 1.081 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.3078, allocations: 82.05 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.3079, allocations: 47.42 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3079, allocations: 0 / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.3276, allocations: 3.641 MB / 1.085 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.781, allocations: 11.17 kB / 1.085 GB, free: 7.613 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches