Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.005045/0.005045, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001133/0.001133, allocations: 203.8 kB / 16.68 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.7422 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.88 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3059, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02032/0.3263, allocations: 16.73 MB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.3376, allocations: 6.433 MB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.3394, allocations: 47.88 kB / 1.242 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.343, allocations: 1.294 MB / 1.244 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.3457, allocations: 0.8869 MB / 1.245 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.3496, allocations: 1.542 MB / 1.246 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6866/1.036, allocations: 3.852 MB / 1.25 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006307/1.043, allocations: 4.95 MB / 1.255 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/1.045, allocations: 1.659 MB / 1.256 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/1.048, allocations: 1.998 MB / 1.258 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005314/1.048, allocations: 378.1 kB / 1.259 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/1.05, allocations: 0.8432 MB / 1.259 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001821/1.051, allocations: 1.493 MB / 1.261 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002835/1.054, allocations: 1.53 MB / 1.262 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008325/1.063, allocations: 5.58 MB / 1.268 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.063, allocations: 4.562 kB / 1.268 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.475e-06/1.063, allocations: 0.5312 kB / 1.268 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002256/1.063, allocations: 0 / 1.268 GB, free: 6.93 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009839/1.073, allocations: 2.794 MB / 1.271 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.073, allocations: 10.39 kB / 1.271 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/1.074, allocations: 397.1 kB / 1.271 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/1.079, allocations: 0.9262 MB / 1.272 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/1.083, allocations: 1.441 MB / 1.273 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.084, allocations: 197.2 kB / 1.273 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009003/1.084, allocations: 253.3 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/1.095, allocations: 4.648 MB / 1.278 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.948e-05/1.095, allocations: 11.41 kB / 1.278 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004079/1.095, allocations: 108.8 kB / 1.278 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/1.096, allocations: 177.1 kB / 1.278 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008188/1.104, allocations: 3.927 MB / 1.282 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02834/1.132, allocations: 21.44 MB / 1.303 GB, free: 3.105 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/1.135, allocations: 2.24 MB / 1.305 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.136, allocations: 0.7316 MB / 1.306 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/1.137, allocations: 14.92 kB / 1.306 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.137, allocations: 49.27 kB / 1.306 GB, free: 1.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.356e-06/1.137, allocations: 4 kB / 1.306 GB, free: 1.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.01121/1.148, allocations: 4.375 MB / 1.311 GB, free: 14.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.148, allocations: 245.1 kB / 1.311 GB, free: 14.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/1.151, allocations: 1.176 MB / 1.312 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/1.151, allocations: 36.98 kB / 1.312 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000918/1.152, allocations: 1.228 MB / 1.313 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/1.152, allocations: 266.2 kB / 1.313 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007692/1.153, allocations: 341.3 kB / 1.314 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.153, allocations: 347.5 kB / 1.314 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/1.155, allocations: 0.7533 MB / 1.315 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/1.157, allocations: 1.443 MB / 1.316 GB, free: 10.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/1.159, allocations: 2.201 MB / 1.318 GB, free: 9.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-05/1.16, allocations: 7.219 kB / 1.318 GB, free: 9.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004185/1.164, allocations: 2.274 MB / 1.321 GB, free: 8.387 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1.164, allocations: 18.56 kB / 1.321 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.793e-05/1.164, allocations: 27 kB / 1.321 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.933e-05/1.164, allocations: 33.84 kB / 1.321 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.166, allocations: 448.8 kB / 1.321 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-05/1.166, allocations: 49.11 kB / 1.321 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.168, allocations: 239.7 kB / 1.321 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/1.168, allocations: 85.84 kB / 1.321 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003016/1.171, allocations: 1.586 MB / 1.323 GB, free: 7.703 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001657/1.173, allocations: 1.366 MB / 1.324 GB, free: 6.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002474/1.175, allocations: 2.011 MB / 1.326 GB, free: 5.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.573e-05/1.175, allocations: 8.188 kB / 1.326 GB, free: 5.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.0038/1.179, allocations: 2.071 MB / 1.328 GB, free: 4.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/1.179, allocations: 17.38 kB / 1.328 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/1.179, allocations: 28.97 kB / 1.328 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.634e-05/1.179, allocations: 42.89 kB / 1.328 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.181, allocations: 412.5 kB / 1.329 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.797e-05/1.181, allocations: 50.72 kB / 1.329 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/1.183, allocations: 191.8 kB / 1.329 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.183, allocations: 89.22 kB / 1.329 GB, free: 4.324 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0004924/1.183, allocations: 289 kB / 1.329 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/1.184, allocations: 114.1 kB / 1.329 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/1.185, allocations: 1.091 MB / 1.331 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.185, allocations: 13.44 kB / 1.331 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.186, allocations: 2.438 kB / 1.331 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.186, allocations: 5.359 kB / 1.331 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.202, allocations: 10.21 MB / 1.341 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-05/1.202, allocations: 14.69 kB / 1.341 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/1.203, allocations: 191.1 kB / 1.341 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/1.203, allocations: 19.88 kB / 1.341 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/1.203, allocations: 29.78 kB / 1.341 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.992e-05/1.203, allocations: 30.73 kB / 1.341 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/1.203, allocations: 28.62 kB / 1.341 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/1.205, allocations: 2.174 MB / 1.343 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009747/1.206, allocations: 329.6 kB / 1.343 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.207, allocations: 35.36 kB / 1.343 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.208, allocations: 109.6 kB / 1.343 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.209, allocations: 106.5 kB / 1.344 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/1.209, allocations: 42.31 kB / 1.344 GB, free: 10.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001793/1.21, allocations: 0.8104 MB / 1.344 GB, free: 10.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.71e-07/1.21, allocations: 0 / 1.344 GB, free: 10.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005107/1.216, allocations: 0.7454 MB / 1.345 GB, free: 10.46 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.002792/1.218, allocations: 2.745 MB / 1.348 GB, free: 8.109 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004677/1.223, allocations: 2.608 MB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/1.223, allocations: 5.156 kB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008051/1.224, allocations: 0.5672 MB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.227, allocations: 260.2 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.254, allocations: 15.28 MB / 1.366 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00329/1.257, allocations: 2.011 MB / 1.368 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002438/1.259, allocations: 0.8792 MB / 1.369 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/1.261, allocations: 0.7304 MB / 1.37 GB, free: 4.75 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/1.261, allocations: 0 / 1.37 GB, free: 4.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05488/1.316, allocations: 29.96 MB / 1.399 GB, free: 7.152 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.925/10.24, allocations: 10.91 kB / 1.399 GB, free: 7.145 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches