Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.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.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.0009413/0.0009413, allocations: 89.81 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.008522/0.008522, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.342/1.342, 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.586/2.586, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 10.69 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2855, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002905/0.2885, allocations: 2.336 MB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.2908, allocations: 1.566 MB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.291, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.2911, allocations: 23.8 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.2916, allocations: 139.5 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.2921, allocations: 167.7 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.2924, allocations: 315.1 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.2929, allocations: 242 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.2931, allocations: 71.7 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.2933, allocations: 103.6 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.2934, allocations: 8 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.2938, allocations: 247.5 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.2939, allocations: 55.88 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.294, allocations: 93.31 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.2944, allocations: 303.3 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2944, allocations: 4 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2944, allocations: 0 / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2944, allocations: 0 / 1.064 GB, free: 15.22 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.0006342/0.295, allocations: 455.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2951, allocations: 8.031 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.2952, allocations: 50.72 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.2959, allocations: 92.64 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2962, allocations: 224 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2962, allocations: 12.66 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.2962, allocations: 12.38 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.2967, allocations: 299.3 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2967, allocations: 7.922 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2968, allocations: 8 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.2968, allocations: 20.22 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.2972, allocations: 216.4 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.299, allocations: 1.607 MB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.2994, allocations: 319.3 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.2995, allocations: 61.69 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2995, allocations: 7.922 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2996, allocations: 34.56 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2996, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005169/0.3001, allocations: 256.7 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3001, allocations: 77.11 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3004, allocations: 207.5 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3004, allocations: 25.7 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.3005, allocations: 147.7 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3005, allocations: 43.39 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3006, allocations: 29.89 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.3007, allocations: 322.8 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3008, allocations: 75.95 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.301, allocations: 160.6 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.3014, allocations: 230.9 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3014, allocations: 4 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000475/0.3019, allocations: 269.2 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.302, allocations: 181 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.302, allocations: 4 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.302, allocations: 4 kB / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3023, allocations: 51.91 kB / 1.07 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3023, allocations: 7.938 kB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3025, allocations: 31.88 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.3026, allocations: 8 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.3026, allocations: 4 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003801/0.303, allocations: 207.9 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.303, allocations: 8.031 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.303, allocations: 4 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3032, allocations: 47.91 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3032, allocations: 7.938 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3034, allocations: 19.92 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3034, allocations: 12 kB / 1.07 GB, free: 8.898 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.0001359/0.3035, allocations: 225 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.3036, allocations: 19.81 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3038, allocations: 143 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3039, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3039, allocations: 3.938 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3039, allocations: 7.984 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.3047, allocations: 0.7118 MB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3047, allocations: 4 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.3049, allocations: 27.97 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3049, allocations: 4 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3049, allocations: 352 / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3049, allocations: 11.94 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3049, allocations: 4 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3052, allocations: 382.4 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.3053, allocations: 112.8 kB / 1.072 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3054, allocations: 8.125 kB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3056, allocations: 11.98 kB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3056, allocations: 23.95 kB / 1.072 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3056, allocations: 8 kB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000172/0.3058, allocations: 153.1 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.723e-06/0.3058, allocations: 0 / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005101/0.3063, allocations: 75.94 kB / 1.072 GB, free: 6.824 MB / 0.8262 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.0006438/0.307, allocations: 0.9183 MB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.3075, allocations: 280 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3075, allocations: 4 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.3076, allocations: 61.22 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3081, allocations: 32.91 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.3107, allocations: 2.427 MB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3111, allocations: 0.7401 MB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.3113, allocations: 77.47 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.3114, allocations: 47.41 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3114, allocations: 0 / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.3247, allocations: 3.393 MB / 1.08 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.325, allocations: 245.5 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.151, allocations: 3.609 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches