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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.002019/0.002019, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.004036/0.004036, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.209/3.209, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.472/5.472, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007703/0.0007706, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866/1.867, allocations: 146.8 MB / 0.9809 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005552/1.873, allocations: 2.227 MB / 0.983 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003634/1.876, allocations: 1.298 MB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/1.877, allocations: 0 / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/1.877, allocations: 23.84 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006111/1.878, allocations: 91.66 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/1.878, allocations: 143.6 kB / 0.9846 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/1.879, allocations: 119.7 kB / 0.9847 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/1.88, allocations: 222 kB / 0.9849 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/1.88, allocations: 63.77 kB / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/1.88, allocations: 71.73 kB / 0.985 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/1.88, allocations: 4 kB / 0.985 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/1.881, allocations: 99.84 kB / 0.9851 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/1.881, allocations: 55.89 kB / 0.9852 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/1.881, allocations: 53.58 kB / 0.9852 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/1.882, allocations: 209.7 kB / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.882, allocations: 0 / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.035e-06/1.882, allocations: 0 / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.882, allocations: 4 kB / 0.9854 GB, free: 1.711 MB / 0.7325 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.001423/1.883, allocations: 443 kB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.125e-05/1.883, allocations: 8.031 kB / 0.9859 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/1.883, allocations: 54.55 kB / 0.9859 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009722/1.884, allocations: 71.73 kB / 0.986 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/1.885, allocations: 223.4 kB / 0.9862 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/1.885, allocations: 8.281 kB / 0.9862 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/1.885, allocations: 19.95 kB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/1.886, allocations: 283.7 kB / 0.9865 GB, free: 500 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/1.886, allocations: 3.938 kB / 0.9865 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/1.886, allocations: 8 kB / 0.9865 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.217e-05/1.886, allocations: 20.22 kB / 0.9865 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/1.887, allocations: 204.5 kB / 0.9867 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/1.89, allocations: 1.584 MB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/1.891, allocations: 319.2 kB / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/1.891, allocations: 8 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.891, allocations: 34.5 kB / 0.9886 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/1.891, allocations: 0 / 0.9886 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0009075/1.892, allocations: 244.5 kB / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/1.892, allocations: 77.11 kB / 0.9889 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/1.892, allocations: 195.5 kB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.892, allocations: 29.89 kB / 0.9891 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/1.892, allocations: 163.8 kB / 0.9893 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/1.892, allocations: 39.45 kB / 0.9893 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/1.892, allocations: 4 kB / 0.9893 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002691/1.893, allocations: 330.8 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/1.893, allocations: 67.95 kB / 0.9897 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/1.893, allocations: 152.6 kB / 0.9898 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/1.893, allocations: 91.97 kB / 0.9899 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.893, allocations: 0 / 0.9899 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006651/1.894, allocations: 257.5 kB / 0.9902 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/1.895, allocations: 1.13 MB / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.895, allocations: 4 kB / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.084e-05/1.895, allocations: 4 kB / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/1.896, allocations: 59.84 kB / 0.9913 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.896, allocations: 8 kB / 0.9914 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/1.896, allocations: 19.89 kB / 0.9914 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/1.896, allocations: 8 kB / 0.9914 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.896, allocations: 4 kB / 0.9914 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004859/1.897, allocations: 203.6 kB / 0.9916 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.897, allocations: 384 / 0.9916 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.897, allocations: 12 kB / 0.9916 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/1.897, allocations: 47.91 kB / 0.9916 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.897, allocations: 4 kB / 0.9916 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/1.897, allocations: 8 kB / 0.9917 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.897, allocations: 8 kB / 0.9917 GB, free: 10.8 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003307/1.897, allocations: 234.1 kB / 0.9919 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/1.898, allocations: 15.81 kB / 0.9919 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/1.898, allocations: 143.4 kB / 0.992 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.898, allocations: 4 kB / 0.992 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.898, allocations: 0 / 0.992 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/1.898, allocations: 3.984 kB / 0.992 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/1.9, allocations: 0.7157 MB / 0.9927 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.9, allocations: 4.125 kB / 0.9927 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.9, allocations: 31.92 kB / 0.9928 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/1.9, allocations: 4 kB / 0.9928 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.9, allocations: 7.938 kB / 0.9928 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.9, allocations: 7.953 kB / 0.9928 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.9, allocations: 352 / 0.9928 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/1.901, allocations: 499.4 kB / 0.9933 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/1.901, allocations: 108.8 kB / 0.9934 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/1.902, allocations: 7.984 kB / 0.9934 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/1.902, allocations: 8 kB / 0.9934 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/1.902, allocations: 19.88 kB / 0.9934 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.902, allocations: 12 kB / 0.9934 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002491/1.902, allocations: 140.1 kB / 0.9936 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.902, allocations: 0 / 0.9936 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009554/1.903, allocations: 68 kB / 0.9936 GB, free: 8.57 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002592/1.906, allocations: 1.72 MB / 0.9953 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009631/1.907, allocations: 259.5 kB / 0.9955 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.907, allocations: 1.5 kB / 0.9955 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/1.907, allocations: 64.47 kB / 0.9956 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/1.908, allocations: 32.23 kB / 0.9956 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/1.912, allocations: 2.954 MB / 0.9985 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/1.913, allocations: 0.744 MB / 0.9993 GB, free: 2.555 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003669/1.914, allocations: 73.45 kB / 0.9993 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.914, allocations: 43.42 kB / 0.9994 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of SimCode: time 2.044e-06/1.914, allocations: 4 kB / 0.9994 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/1.973, allocations: 3.294 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004437/1.973, allocations: 216.8 kB / 1.003 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/5.745, allocations: 2.188 kB / 1.003 GB, free: 15.12 MB / 0.7637 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat