Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9377/0.9377, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.328e-05, allocations: 8.922 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005128/0.005161, allocations: 3.077 MB / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.007749, allocations: 1.115 MB / 0.8835 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.008047, allocations: 23.75 kB / 0.8835 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.008646, allocations: 131.1 kB / 0.8836 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.009226, allocations: 244.8 kB / 0.8839 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.009707, allocations: 216.8 kB / 0.8841 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007826/0.01049, allocations: 0.6322 MB / 0.8847 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.0109, allocations: 226.6 kB / 0.8849 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.01148, allocations: 347 kB / 0.8852 GB, free: 20 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.01181, allocations: 219.4 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.01186, allocations: 28 kB / 0.8855 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.01208, allocations: 87.86 kB / 0.8856 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01221, allocations: 131.6 kB / 0.8857 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.01237, allocations: 135.6 kB / 0.8858 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.01284, allocations: 366.5 kB / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.01284, allocations: 0 / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01284, allocations: 0 / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.01285, allocations: 3.938 kB / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009967/0.01385, allocations: 0.7448 MB / 0.8869 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.01389, allocations: 8.031 kB / 0.8869 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.01453, allocations: 148.3 kB / 0.887 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.01505, allocations: 354.8 kB / 0.8874 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.01508, allocations: 21.03 kB / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.01513, allocations: 32.36 kB / 0.8874 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.01564, allocations: 0.5323 MB / 0.8879 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.01566, allocations: 8 kB / 0.888 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.0157, allocations: 12 kB / 0.888 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/0.01577, allocations: 44.64 kB / 0.888 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.01605, allocations: 160.1 kB / 0.8882 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.01868, allocations: 3.469 MB / 0.8916 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.01906, allocations: 171.1 kB / 0.8917 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.01917, allocations: 59.59 kB / 0.8918 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.01919, allocations: 4 kB / 0.8918 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.01922, allocations: 41.39 kB / 0.8918 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 2.846e-06/0.01923, allocations: 0 / 0.8918 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.001081/0.02031, allocations: 413.9 kB / 0.8922 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.02034, allocations: 59.62 kB / 0.8923 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.02062, allocations: 370.4 kB / 0.8926 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.02064, allocations: 29.7 kB / 0.8926 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.02082, allocations: 298.7 kB / 0.8929 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.0209, allocations: 99.16 kB / 0.893 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.02102, allocations: 87.72 kB / 0.8931 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.02119, allocations: 0.5272 MB / 0.8936 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.02129, allocations: 48.95 kB / 0.8937 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.0215, allocations: 259.5 kB / 0.8939 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.02176, allocations: 342 kB / 0.8942 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02177, allocations: 0 / 0.8942 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006396/0.02241, allocations: 391.8 kB / 0.8946 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.02243, allocations: 4 kB / 0.8946 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.02244, allocations: 8.625 kB / 0.8946 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.02265, allocations: 67.02 kB / 0.8947 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.02292, allocations: 79.83 kB / 0.8948 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.02293, allocations: 8 kB / 0.8948 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.02312, allocations: 16 kB / 0.8948 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.02315, allocations: 12 kB / 0.8948 GB, free: 5.582 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.0233, allocations: 192.3 kB / 0.895 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.748e-05/0.02338, allocations: 47.77 kB / 0.895 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.02384, allocations: 264.9 kB / 0.8953 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02384, allocations: 3.938 kB / 0.8953 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.02385, allocations: 4 kB / 0.8953 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.02385, allocations: 3.984 kB / 0.8953 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.02472, allocations: 0.5934 MB / 0.8959 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.02472, allocations: 0 / 0.8959 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.02488, allocations: 43.91 kB / 0.8959 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.02505, allocations: 63.11 kB / 0.896 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.02507, allocations: 8 kB / 0.896 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.02507, allocations: 0 / 0.896 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.02508, allocations: 7.938 kB / 0.896 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.02555, allocations: 429.7 kB / 0.8964 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.02566, allocations: 59.62 kB / 0.8965 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.0257, allocations: 7.984 kB / 0.8965 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.02585, allocations: 8 kB / 0.8965 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.02591, allocations: 23.95 kB / 0.8965 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.02593, allocations: 4 kB / 0.8965 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000156/0.02608, allocations: 243 kB / 0.8967 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/0.02608, allocations: 0 / 0.8967 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004532/0.02654, allocations: 84 kB / 0.8968 GB, free: 3.379 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004676/0.02701, allocations: 107.1 kB / 0.8969 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.02749, allocations: 233.8 kB / 0.8971 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.0275, allocations: 0 / 0.8971 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.02769, allocations: 132.2 kB / 0.8973 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.02835, allocations: 135.3 kB / 0.8974 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.02956, allocations: 0.6622 MB / 0.898 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.33e-05/0.02964, allocations: 113.6 kB / 0.8982 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.0298, allocations: 47.31 kB / 0.8982 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.03, allocations: 170.1 kB / 0.8984 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of SimCode: time 2.124e-06/0.03, allocations: 0 / 0.8984 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of Templates: time 0.006978/0.03698, allocations: 5.272 MB / 0.9035 GB, free: 12.57 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.427491965703666]