Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.0009884/0.0009884, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001215/0.001216, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 11.98 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7588, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005382/0.7642, allocations: 4.291 MB / 0.958 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004252/0.7686, allocations: 2.344 MB / 0.9603 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005848/0.7692, allocations: 28 kB / 0.9604 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.7695, allocations: 90.2 kB / 0.9604 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.7708, allocations: 344 kB / 0.9608 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.7717, allocations: 307.4 kB / 0.9611 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.7728, allocations: 0.9714 MB / 0.962 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007835/0.7736, allocations: 425.3 kB / 0.9624 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.7741, allocations: 294.5 kB / 0.9627 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.7745, allocations: 325.2 kB / 0.963 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.7745, allocations: 19.94 kB / 0.963 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.775, allocations: 195.5 kB / 0.9632 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.7752, allocations: 160.9 kB / 0.9634 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.7753, allocations: 139 kB / 0.9635 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.7759, allocations: 0.6464 MB / 0.9641 GB, free: 448 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7759, allocations: 1.312 kB / 0.9641 GB, free: 448 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7759, allocations: 0 / 0.9641 GB, free: 448 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.7759, allocations: 0 / 0.9641 GB, free: 448 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001179/0.7771, allocations: 0.8449 MB / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7772, allocations: 13.59 kB / 0.965 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.7773, allocations: 88.92 kB / 0.9651 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7785, allocations: 209 kB / 0.9653 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.7792, allocations: 485.1 kB / 0.9657 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.7792, allocations: 34.64 kB / 0.9658 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.7793, allocations: 45.27 kB / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.7806, allocations: 0.8394 MB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.7806, allocations: 7.406 kB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.7807, allocations: 24.11 kB / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.7808, allocations: 74.7 kB / 0.9667 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.7818, allocations: 0.5601 MB / 0.9673 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.7866, allocations: 5.656 MB / 0.9728 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.7873, allocations: 457.9 kB / 0.9732 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.7877, allocations: 226.9 kB / 0.9734 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.7877, allocations: 3.125 kB / 0.9734 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.7878, allocations: 36.78 kB / 0.9735 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.7878, allocations: 0 / 0.9735 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002609/0.7904, allocations: 1.502 MB / 0.9749 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7905, allocations: 55.34 kB / 0.975 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.791, allocations: 0.5013 MB / 0.9755 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.7911, allocations: 31.02 kB / 0.9755 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.7913, allocations: 359.3 kB / 0.9759 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7914, allocations: 122.7 kB / 0.976 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.7915, allocations: 10.94 kB / 0.976 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7916, allocations: 367.8 kB / 0.9763 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.792, allocations: 191.8 kB / 0.9765 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.7924, allocations: 450.7 kB / 0.9769 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.7928, allocations: 259.8 kB / 0.9772 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7929, allocations: 2 kB / 0.9772 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001325/0.7942, allocations: 0.8109 MB / 0.978 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.7942, allocations: 10.03 kB / 0.978 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7942, allocations: 14.05 kB / 0.978 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.7947, allocations: 153.8 kB / 0.9782 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.7952, allocations: 122.5 kB / 0.9783 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.7983, allocations: 4.037 MB / 0.9822 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.7988, allocations: 32.84 kB / 0.9822 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.7989, allocations: 31.78 kB / 0.9823 GB, free: 0.5547 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003108/0.7992, allocations: 211 kB / 0.9825 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.7993, allocations: 66.52 kB / 0.9825 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.8004, allocations: 0.5966 MB / 0.9831 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8005, allocations: 2.969 kB / 0.9831 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8005, allocations: 5.328 kB / 0.9831 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8005, allocations: 1.312 kB / 0.9831 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.8024, allocations: 1.253 MB / 0.9844 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8024, allocations: 7.062 kB / 0.9844 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.8027, allocations: 58.33 kB / 0.9844 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.803, allocations: 135.1 kB / 0.9846 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.8031, allocations: 12.22 kB / 0.9846 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.8061, allocations: 4.023 MB / 0.9885 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8061, allocations: 4.031 kB / 0.9885 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.8071, allocations: 0.7121 MB / 0.9892 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.8074, allocations: 168.2 kB / 0.9894 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.8075, allocations: 8 kB / 0.9894 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.8077, allocations: 23.97 kB / 0.9894 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.8078, allocations: 31.89 kB / 0.9894 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.8078, allocations: 15.95 kB / 0.9894 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003952/0.8082, allocations: 334.8 kB / 0.9897 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8082, allocations: 4 kB / 0.9898 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007079/0.8089, allocations: 144 kB / 0.9899 GB, free: 9.199 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/0.8102, allocations: 1.261 MB / 0.9911 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.8117, allocations: 1.029 MB / 0.9921 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8117, allocations: 3.938 kB / 0.9921 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009237/0.8126, allocations: 0.7388 MB / 0.9928 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009206/0.8136, allocations: 187.2 kB / 0.993 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.8187, allocations: 3.492 MB / 0.9964 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.8193, allocations: 0.9098 MB / 0.9973 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004107/0.8197, allocations: 125.3 kB / 0.9974 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.82, allocations: 195.4 kB / 0.9976 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/0.82, allocations: 0 / 0.9976 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.8475, allocations: 12.22 MB / 1.01 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.8478, allocations: 228.3 kB / 1.01 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.887, allocations: 0 / 1.01 GB, free: 4.672 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat